Skip to content

Latest commit

 

History

History
106 lines (73 loc) · 2.84 KB

MonitoringApi.md

File metadata and controls

106 lines (73 loc) · 2.84 KB

swagger_client.MonitoringApi

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_get()

Health Check

Example

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)

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

info_get

info_get()

General Information about the Studio API.


The result contains the application version and additional useful information about the current system.

Example

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)

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]