All URIs are relative to https://localhost/
Method | HTTP request | Description |
---|---|---|
apiLogAddGet | GET /_api/log/Add | Gets the log container. |
apiLogAddPut | PUT /_api/log/Add | Adds the log. |
apiLogGet | GET /_api/log | Gets all logs. |
Log apiLogAddGet(authorization)
Gets the log container.
var Synactaclientjs = require('synactaclientjs');
var apiInstance = new Synactaclientjs.LoggingApi();
var authorization = "authorization_example"; // String | access token
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.apiLogAddGet(authorization, callback);
Name | Type | Description | Notes |
---|---|---|---|
authorization | String | access token |
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
Log apiLogAddPut(authorization, opts)
Adds the log.
var Synactaclientjs = require('synactaclientjs');
var apiInstance = new Synactaclientjs.LoggingApi();
var authorization = "authorization_example"; // String | access token
var opts = {
'log': new Synactaclientjs.Log() // Log | The log.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.apiLogAddPut(authorization, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
authorization | String | access token | |
log | Log | The log. | [optional] |
No authorization required
- Content-Type: application/json, text/json, application/json-patch+json
- Accept: text/plain, application/json, text/json
[Log] apiLogGet(authorization)
Gets all logs.
var Synactaclientjs = require('synactaclientjs');
var apiInstance = new Synactaclientjs.LoggingApi();
var authorization = "authorization_example"; // String | access token
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.apiLogGet(authorization, callback);
Name | Type | Description | Notes |
---|---|---|---|
authorization | String | access token |
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json