All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
get_info | GET /api/v1/info | |
get_user_info | GET /api/v1/userinfo | |
get_version | GET /api/v1/version |
V1alpha1InfoResponse get_info()
from __future__ import print_function
import time
import openapi_client
from openapi_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 = openapi_client.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = openapi_client.InfoServiceApi(api_client)
try:
api_response = api_instance.get_info()
pprint(api_response)
except ApiException as e:
print("Exception when calling InfoServiceApi->get_info: %s\n" % e)
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | A successful response. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
V1alpha1GetUserInfoResponse get_user_info()
from __future__ import print_function
import time
import openapi_client
from openapi_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 = openapi_client.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = openapi_client.InfoServiceApi(api_client)
try:
api_response = api_instance.get_user_info()
pprint(api_response)
except ApiException as e:
print("Exception when calling InfoServiceApi->get_user_info: %s\n" % e)
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | A successful response. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
V1alpha1Version get_version()
from __future__ import print_function
import time
import openapi_client
from openapi_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 = openapi_client.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = openapi_client.InfoServiceApi(api_client)
try:
api_response = api_instance.get_version()
pprint(api_response)
except ApiException as e:
print("Exception when calling InfoServiceApi->get_version: %s\n" % e)
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | A successful response. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]