All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
userSettingsAcceptAgreements | POST /api/manage/v1/UserSettings/accept | Use this endpoint to accept current version of service license agreement |
userSettingsGetCurrentUserSettings | GET /api/manage/v1/UserSettings | Return current user settings. |
userSettingsUpdateMySettings | PUT /api/manage/v1/UserSettings | Update settings of the current user |
userSettingsAcceptAgreements(opts)
Use this endpoint to accept current version of service license agreement
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.UserSettingsApi();
let opts = {
'acceptAgreementsVM': new FastreportCloudSdk.AcceptAgreementsVM() // AcceptAgreementsVM |
};
apiInstance.userSettingsAcceptAgreements(opts).then(() => {
console.log('API called successfully.');
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
acceptAgreementsVM | AcceptAgreementsVM | [optional] |
null (empty response body)
- Content-Type: application/json, text/json, application/*+json
- Accept: Not defined
UserSettingsVM userSettingsGetCurrentUserSettings()
Return current user settings.
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.UserSettingsApi();
apiInstance.userSettingsGetCurrentUserSettings().then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
UserSettingsVM userSettingsUpdateMySettings(opts)
Update settings of the current user
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.UserSettingsApi();
let opts = {
'updateUserSettingsVM': new FastreportCloudSdk.UpdateUserSettingsVM() // UpdateUserSettingsVM |
};
apiInstance.userSettingsUpdateMySettings(opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
updateUserSettingsVM | UpdateUserSettingsVM | [optional] |
- Content-Type: application/json, text/json, application/*+json
- Accept: application/json