Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 1.24 KB

File metadata and controls

53 lines (33 loc) · 1.24 KB

HyperstackApi.HealthApi

All URIs are relative to https://infrahub-api.nexgencloud.com/v1

Method HTTP request Description
healthzEndpoint GET /object-storage/healthz Healthcheck

healthzEndpoint

ObjectStorageHealthResponse healthzEndpoint()

Healthcheck

Example

import HyperstackApi from '@nexgencloud/hyperstack-sdk-javascript';
let defaultClient = HyperstackApi.ApiClient.instance;
// Configure API key authorization: apiKey
let apiKey = defaultClient.authentications['apiKey'];
apiKey.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKey.apiKeyPrefix = 'Token';

let apiInstance = new HyperstackApi.HealthApi();
apiInstance.healthzEndpoint().then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

Parameters

This endpoint does not need any parameter.

Return type

ObjectStorageHealthResponse

Authorization

apiKey

HTTP request headers

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