Created
June 28, 2020 06:12
-
-
Save jorgejesus/641f349e9fd559c763e2b8fcf6f71ee0 to your computer and use it in GitHub Desktop.
openapi.get_oas_30_
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
'openapi': '3.0.2', | |
'tags': [ | |
{ | |
'name': 'server', | |
'description': 'pygeoapi provides an API to geospatial data', | |
'externalDocs': { | |
'description': 'information', | |
'url': 'http://example.org' | |
} | |
}, | |
{ | |
'name': 'obs', | |
'description': 'My cool observations' | |
}, | |
{ | |
'name': 'hello-world', | |
'description': 'Hello World process' | |
} | |
], | |
'info': { | |
'title': 'pygeoapi default instance', | |
'description': 'pygeoapi provides an API to geospatial data', | |
'x-keywords': [ | |
'geospatial', | |
'data', | |
'api' | |
], | |
'termsOfService': 'https://creativecommons.org/licenses/by/4.0/', | |
'contact': { | |
'name': 'Organization Name', | |
'url': 'https://pygeoapi.io', | |
'email': '[email protected]' | |
}, | |
'license': { | |
'name': 'CC-BY 4.0 license', | |
'url': 'https://creativecommons.org/licenses/by/4.0/' | |
}, | |
'version': '3.0.2' | |
}, | |
'servers': [ | |
{ | |
'url': 'http://localhost:5000/', | |
'description': 'pygeoapi provides an API to geospatial data' | |
} | |
], | |
'components': { | |
'responses': { | |
'200': { | |
'description': 'successful operation' | |
}, | |
'default': { | |
'description': 'Unexpected error', | |
'content': { | |
'application/json': { | |
'schema': { | |
'$ref': 'https://raw.githubusercontent.com/opengeospatial/wps-rest-binding/master/core/openapi/schemas/exception.yaml' | |
} | |
} | |
} | |
}, | |
'Queryables': { | |
'description': 'Dataset Querables', | |
'content': { | |
'application/json': { | |
'schema': { | |
'$ref': '#/components/schemas/queryables' | |
}, | |
'example': { | |
'queryables': [ | |
{ | |
'queryable': 'elevation', | |
'title': 'Elevation', | |
'description': 'The average distance of the road segment above sea level.', | |
'type': 'double' | |
}, | |
{ | |
'queryable': 'nlanes', | |
'title': 'Temperature', | |
'description': 'The total number of lanes in all directions.', | |
'type': 'integer' | |
}, | |
{ | |
'queryable': 'geom', | |
'title': 'Segment Geometry', | |
'description': 'The geometry of the road segment', | |
'type': 'linestring' | |
}, | |
{ | |
'queryable': 'name', | |
'title': 'Segment Name', | |
'description': 'The common name of the road segment.', | |
'type': 'string' | |
} | |
] | |
} | |
} | |
} | |
} | |
}, | |
'parameters': { | |
'f': { | |
'name': 'f', | |
'in': 'query', | |
'description': 'The optional f parameter indicates the output format which the server shall provide as part of the response document. The default format is GeoJSON.', | |
'required': False, | |
'schema': { | |
'type': 'string', | |
'enum': [ | |
'json', | |
'html', | |
'jsonld' | |
], | |
'default': 'json' | |
}, | |
'style': 'form', | |
'explode': False | |
}, | |
'sortby': { | |
'name': 'sortby', | |
'in': 'query', | |
'description': 'The optional sortby parameter indicates the sort property and order on which the server shall present results in the response document using the convention `sortby=PROPERTY:X`, where `PROPERTY` is the sort property and `X` is the sort order (`A` is ascending, `D` is descending). Sorting by multiple properties is supported by providing a comma-separated list.', | |
'required': False, | |
'schema': { | |
'type': 'string' | |
}, | |
'style': 'form', | |
'explode': False | |
}, | |
'startindex': { | |
'name': 'startindex', | |
'in': 'query', | |
'description': 'The optional startindex parameter indicates the index within the result set from which the server shall begin presenting results in the response document. The first element has an index of 0 (default).', | |
'required': False, | |
'schema': { | |
'type': 'integer', | |
'minimum': 0, | |
'default': 0 | |
}, | |
'style': 'form', | |
'explode': False | |
}, | |
'filter-lang': { | |
'description': 'The optional parameter to provide filter lang', | |
'explode': False, | |
'in': 'query', | |
'name': 'filter-lang', | |
'required': False, | |
'schema': { | |
'type': 'string', | |
'enum': [ | |
'cql-text', | |
'cql-json' | |
], | |
'default': 'cql-text' | |
}, | |
'style': 'form' | |
}, | |
'filter': { | |
'description': 'The optional filter parameter to provide filters on the collection items', | |
'explode': False, | |
'in': 'query', | |
'name': 'filter', | |
'required': False, | |
'schema': { | |
'type': 'string' | |
}, | |
'style': 'form' | |
} | |
}, | |
'schemas': { | |
'queryables': { | |
'type': 'object', | |
'required': [ | |
'queryables' | |
], | |
'properties': { | |
'queryables': { | |
'type': 'array', | |
'items': { | |
'type': 'object', | |
'required': [ | |
'queryable', | |
'type' | |
], | |
'properties': { | |
'queryable': { | |
'description': 'the token that may be used in a CQL predicate', | |
'type': 'string' | |
}, | |
'title': { | |
'description': 'a human readble title for the queryable', | |
'type': 'string' | |
}, | |
'description': { | |
'description': 'a human-readable narrative describing the queryable', | |
'type': 'string' | |
}, | |
'language': { | |
'description': 'the language used for the title and description', | |
'type': 'string', | |
'default': [ | |
'en' | |
] | |
}, | |
'type': { | |
'description': 'the data type of the queryable', | |
'type': 'string' | |
}, | |
'type-ref': { | |
'description': 'a reference to the formal definition of the type', | |
'type': 'string', | |
'format': 'url' | |
} | |
} | |
} | |
} | |
} | |
}, | |
'predicates': { | |
'allOf': [ | |
{ | |
'$ref': '#/components/schemas/logicalExpression' | |
}, | |
{ | |
'$ref': '#/components/schemas/comparisonExpressions' | |
}, | |
{ | |
'$ref': '#/components/schemas/spatialExpressions' | |
}, | |
{ | |
'$ref': '#/components/schemas/temporalExpressions' | |
} | |
], | |
'minProperties': 1, | |
'maxProperties': 1, | |
'nullable': False, | |
'type': 'object', | |
'additionalProperties': True | |
}, | |
'logicalExpression': { | |
'properties': { | |
'and': { | |
'$ref': '#/components/schemas/and' | |
}, | |
'or': { | |
'$ref': '#/components/schemas/or' | |
}, | |
'not': { | |
'$ref': '#/components/schemas/not' | |
} | |
}, | |
'minProperties': 1, | |
'maxProperties': 1, | |
'nullable': False, | |
'type': 'object', | |
'additionalProperties': True | |
}, | |
'comparisonExpressions': { | |
'properties': { | |
'eq': { | |
'$ref': '#/components/schemas/eq' | |
}, | |
'lt': { | |
'$ref': '#/components/schemas/lt' | |
}, | |
'gt': { | |
'$ref': '#/components/schemas/gt' | |
}, | |
'lte': { | |
'$ref': '#/components/schemas/lte' | |
}, | |
'gte': { | |
'$ref': '#/components/schemas/gte' | |
}, | |
'between': { | |
'$ref': '#/components/schemas/between' | |
}, | |
'like': { | |
'$ref': '#/components/schemas/like' | |
}, | |
'in': { | |
'$ref': '#/components/schemas/in' | |
} | |
}, | |
'minProperties': 1, | |
'maxProperties': 1, | |
'nullable': False, | |
'type': 'object', | |
'additionalProperties': True | |
}, | |
'spatialExpressions': { | |
'properties': { | |
'equals': { | |
'$ref': '#/components/schemas/equals' | |
}, | |
'disjoint': { | |
'$ref': '#/components/schemas/disjoint' | |
}, | |
'touches': { | |
'$ref': '#/components/schemas/touches' | |
}, | |
'within': { | |
'$ref': '#/components/schemas/within' | |
}, | |
'overlaps': { | |
'$ref': '#/components/schemas/overlaps' | |
}, | |
'crosses': { | |
'$ref': '#/components/schemas/crosses' | |
}, | |
'intersects': { | |
'$ref': '#/components/schemas/intersects' | |
}, | |
'contains': { | |
'$ref': '#/components/schemas/contains' | |
} | |
}, | |
'minProperties': 1, | |
'maxProperties': 1, | |
'nullable': False, | |
'type': 'object', | |
'additionalProperties': True | |
}, | |
'temporalExpressions': { | |
'properties': { | |
'after': { | |
'$ref': '#/components/schemas/after' | |
}, | |
'before': { | |
'$ref': '#/components/schemas/before' | |
}, | |
'begins': { | |
'$ref': '#/components/schemas/begins' | |
}, | |
'begunby': { | |
'$ref': '#/components/schemas/begunby' | |
}, | |
'tcontains': { | |
'$ref': '#/components/schemas/tcontains' | |
}, | |
'during': { | |
'$ref': '#/components/schemas/during' | |
}, | |
'endedby': { | |
'$ref': '#/components/schemas/endedby' | |
}, | |
'ends': { | |
'$ref': '#/components/schemas/ends' | |
}, | |
'tequals': { | |
'$ref': '#/components/schemas/tequals' | |
}, | |
'meets': { | |
'$ref': '#/components/schemas/meets' | |
}, | |
'metby': { | |
'$ref': '#/components/schemas/metby' | |
}, | |
'toverlaps': { | |
'$ref': '#/components/schemas/toverlaps' | |
}, | |
'overlappedby': { | |
'$ref': '#/components/schemas/overlappedby' | |
} | |
}, | |
'minProperties': 1, | |
'maxProperties': 1, | |
'nullable': False, | |
'type': 'object', | |
'additionalProperties': True | |
}, | |
'and': { | |
'$ref': '#/components/schemas/booleanOperands' | |
}, | |
'or': { | |
'$ref': '#/components/schemas/booleanOperands' | |
}, | |
'not': { | |
'$ref': '#/components/schemas/predicates' | |
}, | |
'eq': { | |
'$ref': '#/components/schemas/scalarOperands' | |
}, | |
'lt': { | |
'$ref': '#/components/schemas/scalarOperands' | |
}, | |
'gt': { | |
'$ref': '#/components/schemas/scalarOperands' | |
}, | |
'lte': { | |
'$ref': '#/components/schemas/scalarOperands' | |
}, | |
'gte': { | |
'$ref': '#/components/schemas/scalarOperands' | |
}, | |
'between': { | |
'properties': { | |
'property': { | |
'nullable': False, | |
'type': 'string' | |
}, | |
'lower': { | |
'$ref': '#/components/schemas/scalarLiteral' | |
}, | |
'upper': { | |
'$ref': '#/components/schemas/scalarLiteral' | |
} | |
}, | |
'required': [ | |
'property', | |
'lower', | |
'upper' | |
], | |
'nullable': False, | |
'type': 'object', | |
'additionalProperties': True | |
}, | |
'like': { | |
'properties': { | |
'wildcard': { | |
'default': '%', | |
'nullable': False, | |
'type': 'string' | |
}, | |
'singleChar': { | |
'default': '_', | |
'nullable': False, | |
'type': 'string' | |
}, | |
'escape': { | |
'default': '\\\\', 'nullable': False, 'type': 'string'}, 'nocase': {'default': True, 'nullable': False, 'type': 'boolean'}, 'property': {'nullable': False, 'type': 'string'}, 'value': {'$ref': '#/components/schemas/scalarLiteral'}}, 'nullable': False, 'type': 'object', 'additionalProperties': True}, 'in': {'properties': {'nocase': {'default': True, 'nullable': False, 'type': 'boolean'}, 'property': {'nullable': False, 'type': 'string'}, 'values': {'items': {'$ref': '#/components/schemas/scalarLiteral'}, 'nullable': False, 'type': 'array'}}, 'nullable': False, 'type': 'object', 'additionalProperties': True}, 'equals': {'$ref': '#/components/schemas/spatialOperands'}, 'disjoint': {'$ref': '#/components/schemas/spatialOperands'}, 'touches': {'$ref': '#/components/schemas/spatialOperands'}, 'within': {'$ref': '#/components/schemas/spatialOperands'}, 'overlaps': {'$ref': '#/components/schemas/spatialOperands'}, 'crosses': {'$ref': '#/components/schemas/spatialOperands'}, 'intersects': {'$ref': '#/components/schemas/spatialOperands'}, 'contains': {'$ref': '#/components/schemas/spatialOperands'}, 'after': {'$ref': '#/components/schemas/temporalOperands'}, 'before': {'$ref': '#/components/schemas/temporalOperands'}, 'begins': {'$ref': '#/components/schemas/temporalOperands'}, 'begunby': {'$ref': '#/components/schemas/temporalOperands'}, 'tcontains': {'$ref': '#/components/schemas/temporalOperands'}, 'during': {'$ref': '#/components/schemas/temporalOperands'}, 'endedby': {'$ref': '#/components/schemas/temporalOperands'}, 'ends': {'$ref': '#/components/schemas/temporalOperands'}, 'tequals': {'$ref': '#/components/schemas/temporalOperands'}, 'meets': {'$ref': '#/components/schemas/temporalOperands'}, 'metby': {'$ref': '#/components/schemas/temporalOperands'}, 'toverlaps': {'$ref': '#/components/schemas/temporalOperands'}, 'overlappedby': {'$ref': '#/components/schemas/temporalOperands'}, 'anyinteracts': {'$ref': '#/components/schemas/temporalOperands'}, 'tintersects': {'$ref': '#/components/schemas/temporalOperands'}, 'booleanOperands': {'items': {'$ref': '#/components/schemas/predicates', 'minItems': 2}, 'nullable': False, 'type': 'array'}, 'arithmeticOperands': {'properties': {'property': {'nullable': False, 'type': 'string'}, 'function': {'$ref': '#/components/schemas/function'}, 'value': {'nullable': False, 'type': 'number'}, '+': {'$ref': '#/components/schemas/add'}, '-': {'$ref': '#/components/schemas/sub'}, '*': {'$ref': '#/components/schemas/mul'}, '/': {'$ref': '#/components/schemas/div'}}, 'minProperties': 2, 'maxProperties': 2, 'nullable': False, 'type': 'object', 'additionalProperties': True}, 'add': {'$ref': '#/components/schemas/arithmeticOperands'}, 'sub': {'$ref': '#/components/schemas/arithmeticOperands'}, 'mul': {'$ref': '#/components/schemas/arithmeticOperands'}, 'div': {'$ref': '#/components/schemas/arithmeticOperands'}, 'scalarOperands': {'properties': {'property': {'nullable': False, 'type': 'string'}, 'function': {'$ref': '#/components/schemas/function'}, 'value': {'$ref': '#/components/schemas/scalarLiteral'}, '+': {'$ref': '#/components/schemas/add'}, '-': {'$ref': '#/components/schemas/sub'}, '*': {'$ref': '#/components/schemas/mul'}, '/': {'$ref': '#/components/schemas/div'}}, 'minProperties': 2, 'maxProperties': 2, 'nullable': False, 'type': 'object', 'additionalProperties': True}, 'spatialOperands': {'properties': {'property': {'nullable': False, 'type': 'string'}, 'function': {'$ref': '#/components/schemas/function'}, 'value': {'$ref': '#/components/schemas/geometryLiteral'}}, 'minProperties': 2, 'maxProperties': 2, 'nullable': False, 'type': 'object', 'additionalProperties': True}, 'temporalOperands': {'properties': {'property': {'nullable': False, 'type': 'string'}, 'function': {'$ref': '#/components/schemas/function'}, 'value': {'$ref': '#/components/schemas/temporalLiteral'}}, 'minProperties': 2, 'maxProperties': 2, 'nullable': False, 'type': 'object', 'additionalProperties': True}, 'function': {'properties': {'name': {'nullable': False, 'type': 'string'}, 'arguments': {'items': {'oneOf': [{'nullable': False, 'type': 'string'}, {'nullable': False, 'type': 'number'}, {'nullable': False, 'type': 'boolean'}, {'$ref': '#/components/schemas/functionObjectArgument'}]}, 'nullable': False, 'type': 'array'}}, 'nullable': False, 'type': 'object', 'additionalProperties': True}, 'functionObjectArgument': {'properties': {'property': {'nullable': False, 'type': 'string'}, 'function': {'$ref': '#/components/schemas/function'}, 'geometry': {'$ref': '#/components/schemas/geometryLiteral'}, 'bbox': {'$ref': '#/components/schemas/bbox'}, 'temporalValue': {'$ref': '#/components/schemas/temporalLiteral'}, '+': {'$ref': '#/components/schemas/add'}, '-': {'$ref': '#/components/schemas/sub'}, '*': {'$ref': '#/components/schemas/mul'}, '/': {'$ref': '#/components/schemas/div'}}, 'nullable': False, 'type': 'object', 'additionalProperties': True}, 'scalarLiteral': {'oneOf': [{'nullable': False, 'type': 'string'}, {'nullable': False, 'type': 'number'}, {'nullable': False, 'type': 'boolean'}]}, 'geometryLiteral': {'nullable': False, 'type': 'object', 'additionalProperties': True}, 'bbox': {'items': {'minItems': 4, 'maxItems': 6, 'nullable': False, 'type': 'number'}, 'nullable': False, 'type': 'array'}, 'envelopeLiteral': {'properties': {'bbox': {'$ref': '#/components/schemas/bbox'}}, 'nullable': False, 'type': 'object', 'additionalProperties': True}, 'temporalLiteral': {'oneOf': [{'$ref': '#/components/schemas/timeLiteral'}, {'$ref': '#/components/schemas/periodLiteral'}]}, 'timeLiteral': {'pattern': '[ | |
0-9 | |
][ | |
0-9 | |
][ | |
0-9 | |
][ | |
0-9 | |
]-[ | |
0-1 | |
][ | |
0-9 | |
]-[ | |
0-9 | |
][ | |
0-9 | |
](T[ | |
0-2 | |
][ | |
0-9 | |
]: [ | |
0-5 | |
][ | |
0-9 | |
]: [ | |
0-5 | |
][ | |
0-9 | |
](.[ | |
0-9 | |
]*)?)?', 'nullable': False, 'type': 'string'}, 'periodLiteral': {'items': {'$ref': '#/components/schemas/timeLiteral', 'minItems': 2, 'maxItems': 2}, 'nullable': False, 'type': 'array'}, 'capabilities-assertion': {'type': 'object', 'required': ['name', 'operators'], 'properties': {'name': {'type': 'string', 'enum': ['logical', 'comparison', 'spatial', 'temporal', 'arithmetic']}, 'operators': {'type': 'array', 'items': {'type': 'string'}}, 'operands': {'type': 'array', 'items': {'type': 'string'}}}}, 'functionDescription': {'type': 'object', 'properties': {'name': {'type': 'string'}, 'returns': {'type': 'object', 'properties': {'type': {'type': 'string'}, 'typeRef': {'type': 'string', 'format': 'uri'}}}, 'arguments': {'type': 'array', 'items': {'type': 'object', 'properties': {'name': {'type': 'string'}, 'type': {'type': 'string'}, 'typeRef': {'type': 'string', 'format': 'uri'}}}}}}, 'filter-capabilities': {'required': ['conformance-classes', 'capabilites'], 'properties': {'conformance-classes': {'items': {'format': 'uri', 'nullable': False, 'type': 'string'}, 'nullable': False, 'type': 'array'}, 'capabilities': {'items': {'$ref': '#/components/schemas/capabilities-assertion'}, 'nullable': False, 'type': 'array'}, 'functions': {'items': {'$ref': '#/components/schemas/functionDescription'}, 'nullable': False, 'type': 'array'}}, 'nullable': False, 'type': 'object', 'additionalProperties': True}}}, 'paths': {'/': {'get': {'summary': 'Landingpage', 'description': 'Landingpage', 'tags': ['server'], 'parameters': [{'$ref': '#/components/parameters/f'}], 'responses': {200: {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/LandingPage'}, 400: {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/InvalidParameter'}, 500: {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/ServerError'}}}}, '/openapi': {'get': {'summary': 'Thisdocument', 'description': 'Thisdocument', 'tags': ['server'], 'parameters': [{'$ref': '#/components/parameters/f'}], 'responses': {200: {'$ref': '#/components/responses/200'}, 400: {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/InvalidParameter'}, 'default': {'$ref': '#/components/responses/default'}}}}, '/conformance': {'get': {'summary': 'APIconformancedefinition', 'description': 'APIconformancedefinition', 'tags': ['server'], 'parameters': [{'$ref': '#/components/parameters/f'}], 'responses': {200: {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/ConformanceDeclaration'}, 400: {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/InvalidParameter'}, 500: {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/ServerError'}}}}, '/collections': {'get': {'summary': 'Collections', 'description': 'Collections', 'tags': ['server'], 'parameters': [{'$ref': '#/components/parameters/f'}], 'responses': {200: {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/Collections'}, 400: {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/InvalidParameter'}, 500: {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/ServerError'}}}}, '/collections/obs': {'get': {'summary': 'Getcollectionmetadata', 'description': 'Mycoolobservations', 'tags': ['obs'], 'parameters': [{'$ref': '#/components/parameters/f'}], 'responses': {200: {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/Collection'}, 400: {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/InvalidParameter'}, 404: {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/NotFound'}, 500: {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/ServerError'}}}}, '/collections/obs/items': {'get': {'summary': 'GetObservationsitems', 'description': 'Mycoolobservations', 'tags': ['obs'], 'parameters': [{'name': 'f', 'in': 'query', 'description': 'Theoptionalfparameterindicatestheoutputformatwhichtheservershallprovideaspartoftheresponsedocument.ThedefaultformatisGeoJSON.', 'required': False, 'schema': {'type': 'string', 'enum': ['json', 'html', 'jsonld', 'csv'], 'default': 'json'}, 'style': 'form', 'explode': False}, {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/parameters/bbox'}, {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/parameters/limit'}, {'$ref': '#/components/parameters/sortby'}, {'$ref': '#/components/parameters/startindex'}, {'$ref': '#/components/parameters/filter'}, {'$ref': '#/components/parameters/filter-lang'}, {'name': 'id', 'in': 'query', 'required': False, 'schema': {'type': 'string'}, 'style': 'form', 'explode': False}, {'name': 'stn_id', 'in': 'query', 'required': False, 'schema': {'type': 'string'}, 'style': 'form', 'explode': False}, {'name': 'datetime', 'in': 'query', 'required': False, 'schema': {'type': 'string'}, 'style': 'form', 'explode': False}, {'name': 'value', 'in': 'query', 'required': False, 'schema': {'type': 'string'}, 'style': 'form', 'explode': False}, {'name': 'lat', 'in': 'query', 'required': False, 'schema': {'type': 'string'}, 'style': 'form', 'explode': False}, {'name': 'long', 'in': 'query', 'required': False, 'schema': {'type': 'string'}, 'style': 'form', 'explode': False}], 'responses': {200: {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/Features'}, 400: {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/InvalidParameter'}, 404: {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/NotFound'}, 500: {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/ServerError'}}}}, '/collections/obs/queryables': {'get': {'summary': 'GetObservationsqueryables', 'description': 'Mycoolobservations', 'tags': ['obs'], 'parameters': [{'$ref': '#/components/parameters/f'}], 'responses': {200: {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/Features'}, 400: {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/InvalidParameter'}, 404: {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/NotFound'}, 500: {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/ServerError'}}}}, '/collections/obs/items/{ | |
featureId | |
}': {'get': {'summary': 'GetObservationsitembyid', 'description': 'Mycoolobservations', 'tags': ['obs'], 'parameters': [{'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/parameters/featureId'}, {'$ref': '#/components/parameters/f'}], 'responses': {200: {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/Feature'}, 400: {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/InvalidParameter'}, 404: {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/NotFound'}, 500: {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/ServerError'}}}}, '/queryables': {'get': {'summary': 'FeatureQueryables', 'description': 'FeatureQueryables', 'tags': ['server'], 'parameters': [{'$ref': '#/components/parameters/f'}], 'responses': {200: {'$ref': '#/components/responses/Queryables'}, 400: {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/InvalidParameter'}, 404: {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/NotFound'}, 500: {'$ref': 'http: //schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/ServerError'}}}}, '/stac': {'get': {'summary': 'SpatioTemporalAssetCatalog', 'description': 'SpatioTemporalAssetCatalog', 'tags': ['stac'], 'parameters': [], 'responses': {200: {'$ref': '#/components/responses/200'}, 'default': {'$ref': '#/components/responses/default'}}}}, '/processes': {'get': {'summary': 'Processes', 'description': 'Processes', 'tags': ['server'], 'parameters': [{'$ref': '#/components/parameters/f'}], 'responses': {200: {'$ref': '#/components/responses/200'}, 'default': {'$ref': '#/components/responses/default'}}}}, '/processes/hello-world': {'get': {'summary': 'Getprocessmetadata', 'description': 'HelloWorldprocess', 'tags': ['hello-world'], 'parameters': [{'$ref': '#/components/parameters/f'}], 'responses': {200: {'$ref': '#/components/responses/200'}, 'default': {'$ref': '#/components/responses/default'}}}}, '/processes/hello-world/jobs': {'get': {'summary': 'Retrievejoblistforprocess', 'description': 'HelloWorldprocess', 'tags': ['hello-world'], 'responses': {200: {'$ref': '#/components/responses/200'}, 'default': {'$ref': '#/components/responses/default'}}}, 'post': {'summary': 'ProcessHelloWorldprocessexecution', 'description': 'HelloWorldprocess', 'tags': ['hello-world'], 'parameters': [], 'responses': {200: {'$ref': '#/components/responses/200'}, 'default': {'$ref': '#/components/responses/default'}}, 'requestBody': {'description': 'MandatoryexecuterequestJSON', 'required': True, 'content': {'application/json': {'schema': {'$ref': 'https: //raw.githubusercontent.com/opengeospatial/wps-rest-binding/master/core/openapi/schemas/execute.yaml'}, 'example': {'inputs': [{'id': 'name', 'value': 'hithere', 'type': 'text/plain'}]}}}}}}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment