Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 1.37 KB

ConfigurationApi.md

File metadata and controls

55 lines (35 loc) · 1.37 KB

FastreportCloudSdk.ConfigurationApi

All URIs are relative to http://localhost

Method HTTP request Description
configurationGet GET /api/v1/Configuration returns information about server configuration

configurationGet

ServerConfigurationVM configurationGet()

returns information about server configuration

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.ConfigurationApi();
apiInstance.configurationGet().then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

Parameters

This endpoint does not need any parameter.

Return type

ServerConfigurationVM

Authorization

ApiKey, JWT

HTTP request headers

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