All URIs are relative to https://localhost/
Method | HTTP request | Description |
---|---|---|
bulkTags | POST /api/Tags/Bulk | |
cleanDocuments | POST /api/Tags/CleanDocuments | |
createTag | POST /api/Tags | |
deleteTag | DELETE /api/Tags/{id} | |
getTag | GET /api/Tags/{id} | |
getTags | GET /api/Tags | |
updateTag | PUT /api/Tags/{id} | |
wordsExport | POST /api/Tags/ExportWords |
BulkResults bulkTags(opts)
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.TagApi();
var opts = {
'settings': new SlambySdk.TagBulkSettings() // TagBulkSettings |
};
apiInstance.bulkTags(opts).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
settings | TagBulkSettings | [optional] |
No authorization required
- Content-Type: application/json, text/json, application/json-patch+json
- Accept: Not defined
cleanDocuments()
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.TagApi();
apiInstance.cleanDocuments().then(function() {
console.log('API called successfully.');
}, function(error) {
console.error(error);
});
This endpoint does not need any parameter.
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
Tag createTag(opts)
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.TagApi();
var opts = {
'tag': new SlambySdk.Tag() // Tag |
};
apiInstance.createTag(opts).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
tag | Tag | [optional] |
No authorization required
- Content-Type: application/json, text/json, application/json-patch+json
- Accept: Not defined
deleteTag(id, opts)
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.TagApi();
var id = "id_example"; // String |
var opts = {
'force': true, // Boolean |
'cleanDocuments': true // Boolean |
};
apiInstance.deleteTag(id, opts).then(function() {
console.log('API called successfully.');
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | ||
force | Boolean | [optional] | |
cleanDocuments | Boolean | [optional] |
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
Tag getTag(id, opts)
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.TagApi();
var id = "id_example"; // String |
var opts = {
'withDetails': true // Boolean |
};
apiInstance.getTag(id, opts).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | ||
withDetails | Boolean | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Tag] getTags(opts)
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.TagApi();
var opts = {
'withDetails': true // Boolean |
};
apiInstance.getTags(opts).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
withDetails | Boolean | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
updateTag(id, opts)
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.TagApi();
var id = "id_example"; // String |
var opts = {
'tag': new SlambySdk.Tag() // Tag |
};
apiInstance.updateTag(id, opts).then(function() {
console.log('API called successfully.');
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | ||
tag | Tag | [optional] |
null (empty response body)
No authorization required
- Content-Type: application/json, text/json, application/json-patch+json
- Accept: Not defined
Process wordsExport(opts)
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.TagApi();
var opts = {
'settings': new SlambySdk.TagsExportWordsSettings() // TagsExportWordsSettings |
};
apiInstance.wordsExport(opts).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
settings | TagsExportWordsSettings | [optional] |
No authorization required
- Content-Type: application/json, text/json, application/json-patch+json
- Accept: Not defined