Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 1.24 KB

HealthCheckApi.md

File metadata and controls

55 lines (35 loc) · 1.24 KB

FastreportCloudSdk.HealthCheckApi

All URIs are relative to http://localhost

Method HTTP request Description
healthCheckDataGet GET /api/backend/v1/HealthCheck healthcheck

healthCheckDataGet

healthCheckDataGet()

healthcheck

Example

import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"

let apiInstance = new FastreportCloudSdk.HealthCheckApi();
apiInstance.healthCheckDataGet().then(() => {
  console.log('API called successfully.');
}, (error) => {
  console.error(error);
});

Parameters

This endpoint does not need any parameter.

Return type

null (empty response body)

Authorization

ApiKey, JWT

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined