API bindings for the Lilt REST API.
All URIs are relative to https://lilt.com/2
Method | HTTP request | Description |
---|---|---|
root | GET / | Retrieve the REST API root |
ApiRoot root()
Retrieve the REST API root
This resource does not have any attributes. It lists the name of the REST API. This endpoint can be used to verify REST API keys and to check the availability of the REST API.
configuration = lilt.Configuration( host = “https://lilt.com/2” )
configuration = lilt.Configuration( host = “https://lilt.com/2”, api_key = { ‘key’: ‘YOUR_API_KEY’ } )
configuration = lilt.Configuration( username = ‘YOUR_USERNAME’, password = ‘YOUR_PASSWORD’ )
with lilt.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = lilt.RootApi(api_client)
try:
# Retrieve the REST API root
api_response = api_instance.root()
pprint(api_response)
except ApiException as e:
print("Exception when calling RootApi->root: %s\n" % e) ```
configuration = lilt.Configuration( host = “https://lilt.com/2” )
configuration = lilt.Configuration( host = “https://lilt.com/2”, api_key = { ‘key’: ‘YOUR_API_KEY’ } )
configuration = lilt.Configuration( username = ‘YOUR_USERNAME’, password = ‘YOUR_PASSWORD’ )
with lilt.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = lilt.RootApi(api_client)
try:
# Retrieve the REST API root
api_response = api_instance.root()
pprint(api_response)
except ApiException as e:
print("Exception when calling RootApi->root: %s\n" % e) ```
This endpoint does not need any parameter.
| Status code | Description | Response headers | |————-|————-|——————| 200 | A status object. | - | 0 | Unexpected error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]