All URIs are relative to http://api.madana.io/rest
Method | HTTP request | Description |
---|---|---|
createNode | POST /nodes/v2 | |
getBootstrap | GET /nodes/bootstrap | |
getNodeLicenses | GET /nodes/licenses | |
getNodeV2 | GET /nodes/v2/{ident} | |
getNodes2 | GET /nodes | |
getNodesV2 | GET /nodes/v2 | Returns UUIDs of existing analyses. |
killNode | POST /nodes/v2/{ident}/kill | |
postNodeInfo | POST /nodes | |
postNodeInfo_0 | POST /nodes/create |
File createNode(opts)
import MadanaApiclient from 'madana-apiclient';
let apiInstance = new MadanaApiclient.NodeServiceApi();
let opts = {
'body': new MadanaApiclient.JsonNodeRunRequest() // JsonNodeRunRequest |
};
apiInstance.createNode(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
body | JsonNodeRunRequest | [optional] |
File
No authorization required
- Content-Type: application/json
- Accept: application/json, application/xml
File getBootstrap()
import MadanaApiclient from 'madana-apiclient';
let apiInstance = new MadanaApiclient.NodeServiceApi();
apiInstance.getBootstrap((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
This endpoint does not need any parameter.
File
No authorization required
- Content-Type: Not defined
- Accept: application/json
File getNodeLicenses(opts)
import MadanaApiclient from 'madana-apiclient';
let apiInstance = new MadanaApiclient.NodeServiceApi();
let opts = {
'active': "'true'" // String |
};
apiInstance.getNodeLicenses(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
active | String | [optional] [default to 'true'] |
File
No authorization required
- Content-Type: Not defined
- Accept: application/json
File getNodeV2(ident)
import MadanaApiclient from 'madana-apiclient';
let apiInstance = new MadanaApiclient.NodeServiceApi();
let ident = "ident_example"; // String |
apiInstance.getNodeV2(ident, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
ident | String |
File
No authorization required
- Content-Type: Not defined
- Accept: application/json
File getNodes2(opts)
import MadanaApiclient from 'madana-apiclient';
let apiInstance = new MadanaApiclient.NodeServiceApi();
let opts = {
'owner': "owner_example" // String |
};
apiInstance.getNodes2(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
owner | String | [optional] |
File
No authorization required
- Content-Type: Not defined
- Accept: application/json
File getNodesV2(opts)
Returns UUIDs of existing analyses.
Returns UUIDs of existing analyses.
import MadanaApiclient from 'madana-apiclient';
let apiInstance = new MadanaApiclient.NodeServiceApi();
let opts = {
'authorization': "authorization_example", // String | Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
'created': "'true'", // String | - if Queryparam \"created=true\" only the UUIDs of own Requests are shown
'limit': "'30'", // String | Used for offset pagination. Limit/Offset Paging would look like GET /request?limit=20&offset=100. This query would return the 20 rows starting with the 100th row
'offset': "'0'", // String | Used for offset pagination. Limit/Offset Paging would look like GET /request?limit=20&offset=100. This query would return the 20 rows starting with the 100th row
'status': "status_example" // String |
};
apiInstance.getNodesV2(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
authorization | String | Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c | [optional] |
created | String | - if Queryparam "created=true" only the UUIDs of own Requests are shown | [optional] [default to 'true'] |
limit | String | Used for offset pagination. Limit/Offset Paging would look like GET /request?limit=20&offset=100. This query would return the 20 rows starting with the 100th row | [optional] [default to '30'] |
offset | String | Used for offset pagination. Limit/Offset Paging would look like GET /request?limit=20&offset=100. This query would return the 20 rows starting with the 100th row | [optional] [default to '0'] |
status | String | [optional] |
File
No authorization required
- Content-Type: Not defined
- Accept: application/json
File killNode(ident)
import MadanaApiclient from 'madana-apiclient';
let apiInstance = new MadanaApiclient.NodeServiceApi();
let ident = "ident_example"; // String |
apiInstance.killNode(ident, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
ident | String |
File
No authorization required
- Content-Type: Not defined
- Accept: application/json
File postNodeInfo(opts)
import MadanaApiclient from 'madana-apiclient';
let apiInstance = new MadanaApiclient.NodeServiceApi();
let opts = {
'body': new MadanaApiclient.JsonNodeInfo() // JsonNodeInfo |
};
apiInstance.postNodeInfo(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
body | JsonNodeInfo | [optional] |
File
No authorization required
- Content-Type: application/json
- Accept: application/json, application/xml
File postNodeInfo_0(opts)
import MadanaApiclient from 'madana-apiclient';
let apiInstance = new MadanaApiclient.NodeServiceApi();
let opts = {
'body': new MadanaApiclient.JsonNodeRunRequest() // JsonNodeRunRequest |
};
apiInstance.postNodeInfo_0(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
body | JsonNodeRunRequest | [optional] |
File
No authorization required
- Content-Type: application/json
- Accept: application/json, application/xml