All URIs are relative to https://koding.com/remote.api
| Method | HTTP request | Description |
|---|---|---|
| create | POST /ComputeProvider.create | |
| createGroupStack | POST /ComputeProvider.createGroupStack | |
| fetchAvailable | POST /ComputeProvider.fetchAvailable | |
| fetchProviders | POST /ComputeProvider.fetchProviders | |
| ping | POST /ComputeProvider.ping | |
| remove | POST /ComputeProvider.remove | |
| setGroupStack | POST /ComputeProvider.setGroupStack | |
| update | POST /ComputeProvider.update | |
| updateTeamCounters | POST /ComputeProvider.updateTeamCounters |
JMachine create(body)
creates a JMachine for requested provider with the provided options
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.ComputeProviderApi();
var body = new KodingApi.Body1(); // Body1 | 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 | Body1 | body of the request |
- Content-Type: application/json
- Accept: Not defined
DefaultResponse createGroupStack()
Method ComputeProvider.createGroupStack
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.ComputeProviderApi();
apiInstance.createGroupStack().then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: Not defined
DefaultResponse fetchAvailable(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.ComputeProviderApi();
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.fetchAvailable(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 fetchProviders()
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.ComputeProviderApi();
apiInstance.fetchProviders().then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: Not defined
DefaultResponse ping(body)
pings to requested provider implementation
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.ComputeProviderApi();
var body = new KodingApi.Body(); // Body | body of the request
apiInstance.ping(body).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| body | Body | body of the request |
- Content-Type: application/json
- Accept: Not defined
DefaultResponse remove(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.ComputeProviderApi();
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.remove(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 setGroupStack(body)
Method ComputeProvider.setGroupStack
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.ComputeProviderApi();
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.setGroupStack(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 update(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.ComputeProviderApi();
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.update(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 updateTeamCounters(body)
Method ComputeProvider.updateTeamCounters
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.ComputeProviderApi();
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.updateTeamCounters(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