All URIs are relative to https://koding.com/remote.api
Method | HTTP request | Description |
---|---|---|
callDelete | POST /JComputeStack.delete/{id} | |
checkRevision | POST /JComputeStack.checkRevision/{id} | |
create | POST /JComputeStack.create | |
createAdminMessage | POST /JComputeStack.createAdminMessage/{id} | |
deleteAdminMessage | POST /JComputeStack.deleteAdminMessage/{id} | |
destroy | POST /JComputeStack.destroy/{id} | |
maintenance | POST /JComputeStack.maintenance/{id} | |
modify | POST /JComputeStack.modify/{id} | |
one | POST /JComputeStack.one | |
some | POST /JComputeStack.some |
DefaultResponse callDelete(id, body)
Method JComputeStack.delete
var KodingApi = require('koding-api');
var defaultClient = KodingApi.ApiClient.default;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new KodingApi.JComputeStackApi();
var id = "id_example"; // String | Mongo ID of target instance
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.callDelete(id, body).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | Mongo ID of target instance | |
body | DefaultSelector | body of the request |
- Content-Type: application/json
- Accept: Not defined
DefaultResponse checkRevision(id, body)
var KodingApi = require('koding-api');
var defaultClient = KodingApi.ApiClient.default;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new KodingApi.JComputeStackApi();
var id = "id_example"; // String | Mongo ID of target instance
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.checkRevision(id, body).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | Mongo ID of target instance | |
body | DefaultSelector | body of the request |
- Content-Type: application/json
- Accept: Not defined
JComputeStack create(body)
JComputeStack::create
var KodingApi = require('koding-api');
var defaultClient = KodingApi.ApiClient.default;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new KodingApi.JComputeStackApi();
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.create(body).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
body | DefaultSelector | body of the request |
- Content-Type: application/json
- Accept: Not defined
DefaultResponse createAdminMessage(id, body)
Method JComputeStack.createAdminMessage
var KodingApi = require('koding-api');
var defaultClient = KodingApi.ApiClient.default;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new KodingApi.JComputeStackApi();
var id = "id_example"; // String | Mongo ID of target instance
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.createAdminMessage(id, body).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | Mongo ID of target instance | |
body | DefaultSelector | body of the request |
- Content-Type: application/json
- Accept: Not defined
DefaultResponse deleteAdminMessage(id, body)
Method JComputeStack.deleteAdminMessage
var KodingApi = require('koding-api');
var defaultClient = KodingApi.ApiClient.default;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new KodingApi.JComputeStackApi();
var id = "id_example"; // String | Mongo ID of target instance
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.deleteAdminMessage(id, body).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | Mongo ID of target instance | |
body | DefaultSelector | body of the request |
- Content-Type: application/json
- Accept: Not defined
DefaultResponse destroy(id, body)
Method JComputeStack.destroy
var KodingApi = require('koding-api');
var defaultClient = KodingApi.ApiClient.default;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new KodingApi.JComputeStackApi();
var id = "id_example"; // String | Mongo ID of target instance
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.destroy(id, body).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | Mongo ID of target instance | |
body | DefaultSelector | body of the request |
- Content-Type: application/json
- Accept: Not defined
DefaultResponse maintenance(id, body)
var KodingApi = require('koding-api');
var defaultClient = KodingApi.ApiClient.default;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new KodingApi.JComputeStackApi();
var id = "id_example"; // String | Mongo ID of target instance
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.maintenance(id, body).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | Mongo ID of target instance | |
body | DefaultSelector | body of the request |
- Content-Type: application/json
- Accept: Not defined
DefaultResponse modify(id, body)
var KodingApi = require('koding-api');
var defaultClient = KodingApi.ApiClient.default;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new KodingApi.JComputeStackApi();
var id = "id_example"; // String | Mongo ID of target instance
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.modify(id, body).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | Mongo ID of target instance | |
body | DefaultSelector | body of the request |
- Content-Type: application/json
- Accept: Not defined
DefaultResponse one(body)
var KodingApi = require('koding-api');
var defaultClient = KodingApi.ApiClient.default;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new KodingApi.JComputeStackApi();
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.one(body).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
body | DefaultSelector | body of the request |
- Content-Type: application/json
- Accept: Not defined
DefaultResponse some(body)
var KodingApi = require('koding-api');
var defaultClient = KodingApi.ApiClient.default;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new KodingApi.JComputeStackApi();
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.some(body).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
body | DefaultSelector | body of the request |
- Content-Type: application/json
- Accept: Not defined