All URIs are relative to https://localhost/
| Method | HTTP request | Description |
|---|---|---|
| cancelProcess | POST /api/Processes/{id}/Cancel | |
| getProcess | GET /api/Processes/{id} | |
| getProcesses | GET /api/Processes |
cancelProcess(id)
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.ProcessApi();
var id = "id_example"; // String |
apiInstance.cancelProcess(id).then(function() {
console.log('API called successfully.');
}, function(error) {
console.error(error);
});
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
Process getProcess(id)
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.ProcessApi();
var id = "id_example"; // String |
apiInstance.getProcess(id).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Process] getProcesses(opts)
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.ProcessApi();
var opts = {
'allStatus': true, // Boolean |
'allTime': true // Boolean |
};
apiInstance.getProcesses(opts).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
| Name | Type | Description | Notes |
|---|---|---|---|
| allStatus | Boolean | [optional] | |
| allTime | Boolean | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: Not defined