All URIs are relative to http://localhost:10010/v2
| Method | HTTP request | Description |
|---|---|---|
| cloneWorkspace | POST /workspace/{wmid}/clone | Clone the workspace |
| createWorkspace | POST /workspace | Creates new workspace |
| deleteWorkspace | DELETE /workspace/{wmid} | Delete an existing workspace |
| detailWorkspace | GET /workspace/{wmid} | Gets workspace metadata |
| listServices | GET /workspace/{wmid}/model | Get models associated |
| listServices_0 | GET /workspace/{wmid}/service | Get models associated |
| listWorkspaces | GET /workspace | Returns list of workspaces |
| publishWorkspace | POST /workspace/{wmid}/publish | Publish workspace to repo |
| shareWorkspace | POST /workspace/{wmid}/share | Share workspace with another user |
| turnOffWorkspace | POST /workspace/{wmid}/off | Turn off the workspace |
| turnOnWorkspace | POST /workspace/{wmid}/on | Turn on the workspace |
'String' cloneWorkspace(wmid)
Clone the workspace
Clone the given workspace
var algorithmhub = require('algorithmhub');
var apiInstance = new algorithmhub.WorkspaceApi();
var wmid = "wmid_example"; // String | The workspace base type.
apiInstance.cloneWorkspace(wmid).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| wmid | String | The workspace base type. |
'String'
No authorization required
- Content-Type: application/json
- Accept: Not defined
'String' createWorkspace(body)
Creates new workspace
Creates a new workspace
var algorithmhub = require('algorithmhub');
var apiInstance = new algorithmhub.WorkspaceApi();
var body = new algorithmhub.Body2(); // Body2 | The workspace type
apiInstance.createWorkspace(body).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| body | Body2 | The workspace type |
'String'
No authorization required
- Content-Type: application/json
- Accept: Not defined
'String' deleteWorkspace(wmid)
Delete an existing workspace
Delete an existing workspace
var algorithmhub = require('algorithmhub');
var apiInstance = new algorithmhub.WorkspaceApi();
var wmid = "wmid_example"; // String | The workspace id
apiInstance.deleteWorkspace(wmid).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| wmid | String | The workspace id |
'String'
No authorization required
- Content-Type: application/json
- Accept: Not defined
InlineResponse20010 detailWorkspace(wmid)
Gets workspace metadata
Gets workspace metadata
var algorithmhub = require('algorithmhub');
var apiInstance = new algorithmhub.WorkspaceApi();
var wmid = "wmid_example"; // String | The workspace id
apiInstance.detailWorkspace(wmid).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| wmid | String | The workspace id |
No authorization required
- Content-Type: application/json
- Accept: Not defined
[InlineResponse20011] listServices(wmid)
Get models associated
Get models associated with an exsisting workspace
var algorithmhub = require('algorithmhub');
var apiInstance = new algorithmhub.WorkspaceApi();
var wmid = "wmid_example"; // String | The workspace base type.
apiInstance.listServices(wmid).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| wmid | String | The workspace base type. |
No authorization required
- Content-Type: application/json
- Accept: Not defined
[InlineResponse20011] listServices_0(wmid)
Get models associated
Get models associated with an exsisting workspace
var algorithmhub = require('algorithmhub');
var apiInstance = new algorithmhub.WorkspaceApi();
var wmid = "wmid_example"; // String | The workspace base type.
apiInstance.listServices_0(wmid).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| wmid | String | The workspace base type. |
No authorization required
- Content-Type: application/json
- Accept: Not defined
[InlineResponse20010] listWorkspaces()
Returns list of workspaces
Returns a list of workspaces
var algorithmhub = require('algorithmhub');
var apiInstance = new algorithmhub.WorkspaceApi();
apiInstance.listWorkspaces().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: application/json
- Accept: Not defined
'String' publishWorkspace(wmid)
Publish workspace to repo
Publish current workspace to repo
var algorithmhub = require('algorithmhub');
var apiInstance = new algorithmhub.WorkspaceApi();
var wmid = "wmid_example"; // String | The workspace base type.
apiInstance.publishWorkspace(wmid).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| wmid | String | The workspace base type. |
'String'
No authorization required
- Content-Type: application/json
- Accept: Not defined
'String' shareWorkspace(wmid)
Share workspace with another user
Share workspace with another user
var algorithmhub = require('algorithmhub');
var apiInstance = new algorithmhub.WorkspaceApi();
var wmid = "wmid_example"; // String | The workspace base type.
apiInstance.shareWorkspace(wmid).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| wmid | String | The workspace base type. |
'String'
No authorization required
- Content-Type: application/json
- Accept: Not defined
'String' turnOffWorkspace(wmid)
Turn off the workspace
Turn off the workspace
var algorithmhub = require('algorithmhub');
var apiInstance = new algorithmhub.WorkspaceApi();
var wmid = "wmid_example"; // String | The workspace base type.
apiInstance.turnOffWorkspace(wmid).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| wmid | String | The workspace base type. |
'String'
No authorization required
- Content-Type: application/json
- Accept: Not defined
'String' turnOnWorkspace(wmid)
Turn on the workspace
Turn on the workspace
var algorithmhub = require('algorithmhub');
var apiInstance = new algorithmhub.WorkspaceApi();
var wmid = "wmid_example"; // String | The workspace base type.
apiInstance.turnOnWorkspace(wmid).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| wmid | String | The workspace base type. |
'String'
No authorization required
- Content-Type: application/json
- Accept: Not defined