All URIs are relative to https://api.deepopinion.ai
Method | HTTP request | Description |
---|---|---|
health_get | GET /health | Health Check |
info_get | GET /info | General Information about the Studio API. |
health_get()
Health Check
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: Bearer
configuration = swagger_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = swagger_client.MonitoringApi(swagger_client.ApiClient(configuration))
try:
# Health Check
api_instance.health_get()
except ApiException as e:
print("Exception when calling MonitoringApi->health_get: %s\n" % e)
This endpoint does not need any parameter.
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
info_get()
General Information about the Studio API.
The result contains the application version and additional useful information about the current system.
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: Bearer
configuration = swagger_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = swagger_client.MonitoringApi(swagger_client.ApiClient(configuration))
try:
# General Information about the Studio API.
api_instance.info_get()
except ApiException as e:
print("Exception when calling MonitoringApi->info_get: %s\n" % e)
This endpoint does not need any parameter.
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]