All URIs are relative to https://YOUR_CLUSTER_HOSTNAME_OR_NODE_IP:8080
Method | HTTP request | Description |
---|---|---|
get_cluster_time | GET /platform/3/local/cluster/time |
ClusterTimeExtendedExtended get_cluster_time()
Get the current time on the local node.
from __future__ import print_function
import time
import isi_sdk_8_0
from isi_sdk_8_0.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = isi_sdk_8_0.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk_8_0.LocalApi(isi_sdk_8_0.ApiClient(configuration))
try:
api_response = api_instance.get_cluster_time()
pprint(api_response)
except ApiException as e:
print("Exception when calling LocalApi->get_cluster_time: %s\n" % e)
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]