Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 1.47 KB

LocalApi.md

File metadata and controls

57 lines (37 loc) · 1.47 KB

isi_sdk_8_0.LocalApi

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

get_cluster_time

ClusterTimeExtendedExtended get_cluster_time()

Get the current time on the local node.

Example

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)

Parameters

This endpoint does not need any parameter.

Return type

ClusterTimeExtendedExtended

Authorization

basicAuth

HTTP request headers

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

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