All URIs are relative to https://localhost/
Method | HTTP request | Description |
---|---|---|
createDataSet | POST /api/DataSets | |
createDataSetSchema | POST /api/DataSets/Schema | |
deleteDataSet | DELETE /api/DataSets/{name} | |
getDataSet | GET /api/DataSets/{name} | |
getDataSets | GET /api/DataSets | |
updateDataSet | PUT /api/DataSets/{existingName} |
createDataSet(opts)
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.DataSetApi();
var opts = {
'dataSet': new SlambySdk.DataSet() // DataSet |
};
apiInstance.createDataSet(opts).then(function() {
console.log('API called successfully.');
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
dataSet | DataSet | [optional] |
null (empty response body)
No authorization required
- Content-Type: application/json, text/json, application/json-patch+json
- Accept: Not defined
createDataSetSchema(opts)
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.DataSetApi();
var opts = {
'dataSet': new SlambySdk.DataSet() // DataSet |
};
apiInstance.createDataSetSchema(opts).then(function() {
console.log('API called successfully.');
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
dataSet | DataSet | [optional] |
null (empty response body)
No authorization required
- Content-Type: application/json, text/json, application/json-patch+json
- Accept: Not defined
deleteDataSet(name)
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.DataSetApi();
var name = "name_example"; // String |
apiInstance.deleteDataSet(name).then(function() {
console.log('API called successfully.');
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
name | String |
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
DataSet getDataSet(name)
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.DataSetApi();
var name = "name_example"; // String |
apiInstance.getDataSet(name).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
name | String |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[DataSet] getDataSets()
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.DataSetApi();
apiInstance.getDataSets().then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: Not defined
updateDataSet(existingName, opts)
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.DataSetApi();
var existingName = "existingName_example"; // String |
var opts = {
'dataSetUpdate': new SlambySdk.DataSetUpdate() // DataSetUpdate |
};
apiInstance.updateDataSet(existingName, opts).then(function() {
console.log('API called successfully.');
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
existingName | String | ||
dataSetUpdate | DataSetUpdate | [optional] |
null (empty response body)
No authorization required
- Content-Type: application/json, text/json, application/json-patch+json
- Accept: Not defined