All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
get_conformance_conformance_get | GET /conformance | Retrieve the set of OGC API conformance classes that are supported by this service. |
ConfClasses get_conformance_conformance_get(f=f)
Retrieve the set of OGC API conformance classes that are supported by this service.
- Bearer (JWT) Authentication (bearerAuth):
import unity_sps_ogc_processes_api_python_client
from unity_sps_ogc_processes_api_python_client.models.conf_classes import ConfClasses
from unity_sps_ogc_processes_api_python_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = unity_sps_ogc_processes_api_python_client.Configuration(
host = "http://localhost"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization (JWT): bearerAuth
configuration = unity_sps_ogc_processes_api_python_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with unity_sps_ogc_processes_api_python_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = unity_sps_ogc_processes_api_python_client.ConformanceApi(api_client)
f = 'f_example' # str | The format of the response. If no value is provided, the accept header is used to determine the format. Accepted values are 'json' or 'html'. (optional)
try:
# Retrieve the set of OGC API conformance classes that are supported by this service.
api_response = api_instance.get_conformance_conformance_get(f=f)
print("The response of ConformanceApi->get_conformance_conformance_get:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ConformanceApi->get_conformance_conformance_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
f | str | The format of the response. If no value is provided, the accept header is used to determine the format. Accepted values are 'json' or 'html'. | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | The URIs of all conformance classes supported by the server To support \"generic\" clients that want to access multiple OGC API - Processes implementations - and not \"just\" a specific API / server, the server declares the conformance classes it implements and conforms to. | - |
406 | Content negotiation failed. For example, the `Accept` header submitted in the request did not support any of the media types supported by the server for the requested resource. | - |
422 | Validation Error | - |
500 | A server error occurred. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]