1.5.10 • Published 3 years ago
@datenkraft/bb-control-server-api-ts-client v1.5.10
Backbone - Control Server API TS Client
Introduction
The Control Server API TS Client enables you to work with the Control Server API.
Prerequisites
- npm
Installation
You can use npm to install the package.
npm install @datenkraft/bb-control-server-api-ts-clientUsing the package
The package can be used to communicate with the Control Server API. The Client includes functionalities for every endpoint defined in the openapi.json. The Client is auto-generated with ferdikoomen/openapi-typescript-codegen using an openapi.json file.
Initializing the Client
import { ConfigOptions } from '@datenkraft/bb-base-api-ts-client';
import { ControlServerApiClient } from '@datenkraft/bb-control-server-api-ts-client';
const configOptions: ConfigOptions = {
clientId: 'clientId',
clientSecret: 'clientSecret',
oAuthTokenHost: 'oAuthTokenHost',
tokenTradeInPath: 'tokenTradeInPath',
externalIdToken: 'externalIdToken',
useExternalIdToken: true,
};
ControlServerApiClient.init(configOptions).then(() => {
// Client is initialized
});Example Endpoint: Get Task Template Collection
ControlServerApiClient.Generated.TaskTemplateService
.getTaskTemplateCollection()
.then((taskTemplateCollection) => {
// Request succeeded
})
.catch((error) => {
// An error occured
});License
This repository is available under the MIT license.
1.5.5
3 years ago
1.6.4
3 years ago
1.5.4
3 years ago
1.6.3
3 years ago
1.5.3
3 years ago
1.6.2
3 years ago
1.5.2
3 years ago
1.6.1
3 years ago
1.6.0
3 years ago
1.5.1
3 years ago
1.5.0
3 years ago
1.4.0
3 years ago
1.5.10
3 years ago
1.6.9
3 years ago
1.5.9
3 years ago
1.6.11
3 years ago
1.6.8
3 years ago
1.5.8
3 years ago
1.6.10
3 years ago
1.6.7
3 years ago
1.5.7
3 years ago
1.6.6
3 years ago
1.6.12
3 years ago
1.5.6
3 years ago
1.6.5
3 years ago
1.1.0
4 years ago
1.0.0
5 years ago