All URIs are relative to http://localhost:34913/api/v1
Method | HTTP request | Description |
---|---|---|
get_setup_state | GET /setup | check if jiaozifs setup |
get_version | GET /version | return program and runtime version |
SetupState get_setup_state()
check if jiaozifs setup
from __future__ import print_function
import time
import jiaozifs_client
from jiaozifs_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = jiaozifs_client.CommonApi()
try:
# check if jiaozifs setup
api_response = api_instance.get_setup_state()
pprint(api_response)
except ApiException as e:
print("Exception when calling CommonApi->get_setup_state: %s\n" % e)
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
VersionResult get_version()
return program and runtime version
from __future__ import print_function
import time
import jiaozifs_client
from jiaozifs_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = jiaozifs_client.CommonApi()
try:
# return program and runtime version
api_response = api_instance.get_version()
pprint(api_response)
except ApiException as e:
print("Exception when calling CommonApi->get_version: %s\n" % e)
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]