All URIs are relative to https://localhost/
| Method | HTTP request | Description |
|---|---|---|
| apiBaseByTypeByIdAddByNewContainerTypeGet | GET /_api/base/{type}/{id}/Add/{newContainerType} | Gets the empty container. |
| apiBaseByTypeByIdAddPut | PUT /_api/base/{type}/{id}/Add | Saves the new container. |
| apiBaseByTypeByIdCheckinPut | PUT /_api/base/{type}/{id}/Checkin | Checkins the specified . |
| apiBaseByTypeByIdCheckoutPut | PUT /_api/base/{type}/{id}/Checkout | Checkouts the specified . |
| apiBaseByTypeByIdChildrenGet | GET /_api/base/{type}/{id}/Children | Gets the children of container. |
| apiBaseByTypeByIdChildrenTypesGet | GET /_api/base/{type}/{id}/Children/Types | Gets the container types. |
| apiBaseByTypeByIdDelete | DELETE /_api/base/{type}/{id} | Deletes the container. |
| apiBaseByTypeByIdDocumentsGet | GET /_api/base/{type}/{id}/Documents | Gets the documents. |
| apiBaseByTypeByIdDocumentsTypesGet | GET /_api/base/{type}/{id}/Documents/Types | Gets the documents types. |
| apiBaseByTypeByIdGet | GET /_api/base/{type}/{id} | Gets the container by identifier. |
| apiBaseByTypeByIdGetFileGet | GET /_api/base/{type}/{id}/GetFile | Gets the file. |
| apiBaseByTypeByIdLookupListByLookupListNameGet | GET /_api/base/{type}/{id}/LookupList/{lookupListName} | Gets the lookup list entries. |
| apiBaseByTypeByIdMovePost | POST /_api/base/{type}/{id}/Move | Moves the object. |
| apiBaseByTypeByIdPost | POST /_api/base/{type}/{id} | Updates the container. |
| apiBaseByTypeByIdUploadFilePost | POST /_api/base/{type}/{id}/UploadFile | Uploads the file. |
| apiBaseByTypeByIdVersionsByVersionIdGet | GET /_api/base/{type}/{id}/Versions/{versionId} | Gets the version by identifier. |
| apiBaseByTypeByIdVersionsByVersionIdGetFileGet | GET /_api/base/{type}/{id}/Versions/{versionId}/GetFile | Gets the file for version. |
| apiBaseByTypeByIdVersionsByVersionIdRestorePost | POST /_api/base/{type}/{id}/Versions/{versionId}/Restore | Restores the version. |
| apiBaseByTypeByIdVersionsGet | GET /_api/base/{type}/{id}/Versions | Gets the versions. |
| apiBaseByTypeGet | GET /_api/base/{type} | Gets containers by a type. |
| apiBaseRootGet | GET /_api/base/Root | Gets the root. |
| apiBaseTypesGet | GET /_api/base/Types | Gets the container types. |
Container apiBaseByTypeByIdAddByNewContainerTypeGet(type, id, newContainerType, authorization)
Gets the empty container.
var Synactaclientjs = require('synactaclientjs');
var apiInstance = new Synactaclientjs.BaseApi();
var type = "type_example"; // String | Type of the container.
var id = "id_example"; // String | The container identifier.
var newContainerType = "newContainerType_example"; // String | New type of the container.
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.apiBaseByTypeByIdAddByNewContainerTypeGet(type, id, newContainerType, authorization, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| type | String | Type of the container. | |
| id | String | The container identifier. | |
| newContainerType | String | New type of the container. | |
| authorization | String | access token |
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
Container apiBaseByTypeByIdAddPut(type, id, authorization, opts)
Saves the new container.
var Synactaclientjs = require('synactaclientjs');
var apiInstance = new Synactaclientjs.BaseApi();
var type = "type_example"; // String | Type of the container.
var id = "id_example"; // String | The container identifier.
var authorization = "authorization_example"; // String | access token
var opts = {
'newContainer': new Synactaclientjs.Container() // Container | The new container.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.apiBaseByTypeByIdAddPut(type, id, authorization, opts, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| type | String | Type of the container. | |
| id | String | The container identifier. | |
| authorization | String | access token | |
| newContainer | Container | The new container. | [optional] |
No authorization required
- Content-Type: application/json, text/json, application/json-patch+json
- Accept: text/plain, application/json, text/json
Container apiBaseByTypeByIdCheckinPut(type, id, authorization, opts)
Checkins the specified .
var Synactaclientjs = require('synactaclientjs');
var apiInstance = new Synactaclientjs.BaseApi();
var type = "type_example"; // String | Type of the document.
var id = "id_example"; // String | The document identifier.
var authorization = "authorization_example"; // String | access token
var opts = {
'container': new Synactaclientjs.Container() // Container | The container.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.apiBaseByTypeByIdCheckinPut(type, id, authorization, opts, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| type | String | Type of the document. | |
| id | String | The document identifier. | |
| authorization | String | access token | |
| container | Container | The container. | [optional] |
No authorization required
- Content-Type: application/json, text/json, application/json-patch+json
- Accept: text/plain, application/json, text/json
Container apiBaseByTypeByIdCheckoutPut(type, id, authorization, opts)
Checkouts the specified .
var Synactaclientjs = require('synactaclientjs');
var apiInstance = new Synactaclientjs.BaseApi();
var type = "type_example"; // String | Type of the document.
var id = "id_example"; // String | The document identifier.
var authorization = "authorization_example"; // String | access token
var opts = {
'container': new Synactaclientjs.Container() // Container | The container.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.apiBaseByTypeByIdCheckoutPut(type, id, authorization, opts, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| type | String | Type of the document. | |
| id | String | The document identifier. | |
| authorization | String | access token | |
| container | Container | The container. | [optional] |
No authorization required
- Content-Type: application/json, text/json, application/json-patch+json
- Accept: text/plain, application/json, text/json
[Container] apiBaseByTypeByIdChildrenGet(type, id, authorization)
Gets the children of container.
var Synactaclientjs = require('synactaclientjs');
var apiInstance = new Synactaclientjs.BaseApi();
var type = "type_example"; // String | Type of the container.
var id = "id_example"; // String | The container identifier.
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.apiBaseByTypeByIdChildrenGet(type, id, authorization, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| type | String | Type of the container. | |
| id | String | The container identifier. | |
| authorization | String | access token |
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
['String'] apiBaseByTypeByIdChildrenTypesGet(type, id, authorization)
Gets the container types.
var Synactaclientjs = require('synactaclientjs');
var apiInstance = new Synactaclientjs.BaseApi();
var type = "type_example"; // String | Type of the container.
var id = "id_example"; // String | The container identifier.
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.apiBaseByTypeByIdChildrenTypesGet(type, id, authorization, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| type | String | Type of the container. | |
| id | String | The container identifier. | |
| authorization | String | access token |
['String']
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json, application/xml, text/xml
'Boolean' apiBaseByTypeByIdDelete(type, id, authorization)
Deletes the container.
var Synactaclientjs = require('synactaclientjs');
var apiInstance = new Synactaclientjs.BaseApi();
var type = "type_example"; // String | Type of the container.
var id = "id_example"; // String | The container identifier.
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.apiBaseByTypeByIdDelete(type, id, authorization, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| type | String | Type of the container. | |
| id | String | The container identifier. | |
| authorization | String | access token |
'Boolean'
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json, application/xml, text/xml
[Container] apiBaseByTypeByIdDocumentsGet(type, id, authorization)
Gets the documents.
var Synactaclientjs = require('synactaclientjs');
var apiInstance = new Synactaclientjs.BaseApi();
var type = "type_example"; // String | Type of the container.
var id = "id_example"; // String | The container identifier.
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.apiBaseByTypeByIdDocumentsGet(type, id, authorization, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| type | String | Type of the container. | |
| id | String | The container identifier. | |
| authorization | String | access token |
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
['String'] apiBaseByTypeByIdDocumentsTypesGet(type, id, authorization)
Gets the documents types.
var Synactaclientjs = require('synactaclientjs');
var apiInstance = new Synactaclientjs.BaseApi();
var type = "type_example"; // String | Type of the container.
var id = "id_example"; // String | The container identifier.
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.apiBaseByTypeByIdDocumentsTypesGet(type, id, authorization, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| type | String | Type of the container. | |
| id | String | The container identifier. | |
| authorization | String | access token |
['String']
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json, application/xml, text/xml
Container apiBaseByTypeByIdGet(type, id, authorization)
Gets the container by identifier.
var Synactaclientjs = require('synactaclientjs');
var apiInstance = new Synactaclientjs.BaseApi();
var type = "type_example"; // String | Type of the container.
var id = "id_example"; // String | The container identifer.
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.apiBaseByTypeByIdGet(type, id, authorization, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| type | String | Type of the container. | |
| id | String | The container identifer. | |
| authorization | String | access token |
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
apiBaseByTypeByIdGetFileGet(type, id, authorization)
Gets the file.
var Synactaclientjs = require('synactaclientjs');
var apiInstance = new Synactaclientjs.BaseApi();
var type = "type_example"; // String | Type of the document.
var id = "id_example"; // String | The document identifier.
var authorization = "authorization_example"; // String | access token
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.apiBaseByTypeByIdGetFileGet(type, id, authorization, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| type | String | Type of the document. | |
| id | String | The document identifier. | |
| authorization | String | access token |
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[KeyValuePairStringString] apiBaseByTypeByIdLookupListByLookupListNameGet(type, id, lookupListName, authorization)
Gets the lookup list entries.
var Synactaclientjs = require('synactaclientjs');
var apiInstance = new Synactaclientjs.BaseApi();
var type = "type_example"; // String | Type of the container.
var id = "id_example"; // String | The container identifier.
var lookupListName = "lookupListName_example"; // String | Name of the lookup list.
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.apiBaseByTypeByIdLookupListByLookupListNameGet(type, id, lookupListName, authorization, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| type | String | Type of the container. | |
| id | String | The container identifier. | |
| lookupListName | String | Name of the lookup list. | |
| authorization | String | access token |
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json, application/xml, text/xml
Container apiBaseByTypeByIdMovePost(type, id, authorization, opts)
Moves the object.
var Synactaclientjs = require('synactaclientjs');
var apiInstance = new Synactaclientjs.BaseApi();
var type = "type_example"; // String | Type of the container.
var id = "id_example"; // String | The container identifier.
var authorization = "authorization_example"; // String | access token
var opts = {
'container': new Synactaclientjs.Container() // Container | The container.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.apiBaseByTypeByIdMovePost(type, id, authorization, opts, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| type | String | Type of the container. | |
| id | String | The container identifier. | |
| authorization | String | access token | |
| container | Container | The container. | [optional] |
No authorization required
- Content-Type: application/json, text/json, application/json-patch+json
- Accept: text/plain, application/json, text/json
Container apiBaseByTypeByIdPost(type, id, authorization, opts)
Updates the container.
var Synactaclientjs = require('synactaclientjs');
var apiInstance = new Synactaclientjs.BaseApi();
var type = "type_example"; // String | Type of the container.
var id = "id_example"; // String | The container identifier.
var authorization = "authorization_example"; // String | access token
var opts = {
'newContainer': new Synactaclientjs.Container() // Container | The new container.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.apiBaseByTypeByIdPost(type, id, authorization, opts, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| type | String | Type of the container. | |
| id | String | The container identifier. | |
| authorization | String | access token | |
| newContainer | Container | The new container. | [optional] |
No authorization required
- Content-Type: application/json, text/json, application/json-patch+json
- Accept: text/plain, application/json, text/json
apiBaseByTypeByIdUploadFilePost(type, id, authorization)
Uploads the file.
var Synactaclientjs = require('synactaclientjs');
var apiInstance = new Synactaclientjs.BaseApi();
var type = "type_example"; // String | Type of the document.
var id = "id_example"; // String | The document identifier.
var authorization = "authorization_example"; // String | access token
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.apiBaseByTypeByIdUploadFilePost(type, id, authorization, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| type | String | Type of the document. | |
| id | String | The document identifier. | |
| authorization | String | access token |
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
DocumentVersion apiBaseByTypeByIdVersionsByVersionIdGet(type, id, versionId, authorization)
Gets the version by identifier.
var Synactaclientjs = require('synactaclientjs');
var apiInstance = new Synactaclientjs.BaseApi();
var type = "type_example"; // String | Type of the document.
var id = "id_example"; // String | The document identifier.
var versionId = "versionId_example"; // String | The version identifier.
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.apiBaseByTypeByIdVersionsByVersionIdGet(type, id, versionId, authorization, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| type | String | Type of the document. | |
| id | String | The document identifier. | |
| versionId | String | The version identifier. | |
| authorization | String | access token |
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json, application/xml, text/xml
apiBaseByTypeByIdVersionsByVersionIdGetFileGet(type, id, versionId, authorization)
Gets the file for version.
var Synactaclientjs = require('synactaclientjs');
var apiInstance = new Synactaclientjs.BaseApi();
var type = "type_example"; // String | Type of the document .
var id = "id_example"; // String | The document identifier.
var versionId = "versionId_example"; // String | The version identifier.
var authorization = "authorization_example"; // String | access token
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.apiBaseByTypeByIdVersionsByVersionIdGetFileGet(type, id, versionId, authorization, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| type | String | Type of the document . | |
| id | String | The document identifier. | |
| versionId | String | The version identifier. | |
| authorization | String | access token |
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
Container apiBaseByTypeByIdVersionsByVersionIdRestorePost(type, id, versionId, authorization)
Restores the version.
var Synactaclientjs = require('synactaclientjs');
var apiInstance = new Synactaclientjs.BaseApi();
var type = "type_example"; // String | Type of the document .
var id = "id_example"; // String | The document identifier.
var versionId = "versionId_example"; // String | The version identifier.
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.apiBaseByTypeByIdVersionsByVersionIdRestorePost(type, id, versionId, authorization, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| type | String | Type of the document . | |
| id | String | The document identifier. | |
| versionId | String | The version identifier. | |
| authorization | String | access token |
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[DocumentVersion] apiBaseByTypeByIdVersionsGet(type, id, authorization)
Gets the versions.
var Synactaclientjs = require('synactaclientjs');
var apiInstance = new Synactaclientjs.BaseApi();
var type = "type_example"; // String | Type of the document.
var id = "id_example"; // String | The document identifier.
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.apiBaseByTypeByIdVersionsGet(type, id, authorization, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| type | String | Type of the document. | |
| id | String | The document identifier. | |
| authorization | String | access token |
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json, application/xml, text/xml
[Container] apiBaseByTypeGet(type, authorization)
Gets containers by a type.
var Synactaclientjs = require('synactaclientjs');
var apiInstance = new Synactaclientjs.BaseApi();
var type = "type_example"; // String | Type of the container.
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.apiBaseByTypeGet(type, authorization, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| type | String | Type of the container. | |
| authorization | String | access token |
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Container] apiBaseRootGet(authorization)
Gets the root.
var Synactaclientjs = require('synactaclientjs');
var apiInstance = new Synactaclientjs.BaseApi();
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.apiBaseRootGet(authorization, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| authorization | String | access token |
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
['String'] apiBaseTypesGet(authorization)
Gets the container types.
var Synactaclientjs = require('synactaclientjs');
var apiInstance = new Synactaclientjs.BaseApi();
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.apiBaseTypesGet(authorization, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| authorization | String | access token |
['String']
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json, application/xml, text/xml