All URIs are relative to https://koding.com/remote.api
| Method | HTTP request | Description |
|---|---|---|
| byId | POST /SocialMessage.byId | |
| bySlug | POST /SocialMessage.bySlug | |
| callDelete | POST /SocialMessage.delete | |
| edit | POST /SocialMessage.edit | |
| fetch | POST /SocialMessage.fetch | |
| fetchDataFromEmbedly | POST /SocialMessage.fetchDataFromEmbedly | |
| fetchPrivateMessageCount | POST /SocialMessage.fetchPrivateMessageCount | |
| fetchPrivateMessages | POST /SocialMessage.fetchPrivateMessages | |
| initPrivateMessage | POST /SocialMessage.initPrivateMessage | |
| like | POST /SocialMessage.like | |
| listLikers | POST /SocialMessage.listLikers | |
| listReplies | POST /SocialMessage.listReplies | |
| paymentSubscribe | POST /SocialMessage.paymentSubscribe | |
| post | POST /SocialMessage.post | |
| reply | POST /SocialMessage.reply | |
| search | POST /SocialMessage.search | |
| sendPrivateMessage | POST /SocialMessage.sendPrivateMessage | |
| unlike | POST /SocialMessage.unlike |
DefaultResponse byId(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.SocialMessageApi();
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.byId(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 bySlug(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.SocialMessageApi();
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.bySlug(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 callDelete(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.SocialMessageApi();
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.callDelete(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 edit(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.SocialMessageApi();
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.edit(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 fetch(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.SocialMessageApi();
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.fetch(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 fetchDataFromEmbedly(body)
Method SocialMessage.fetchDataFromEmbedly
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.SocialMessageApi();
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.fetchDataFromEmbedly(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 fetchPrivateMessageCount(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.SocialMessageApi();
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.fetchPrivateMessageCount(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 fetchPrivateMessages(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.SocialMessageApi();
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.fetchPrivateMessages(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 initPrivateMessage(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.SocialMessageApi();
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.initPrivateMessage(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 like(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.SocialMessageApi();
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.like(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 listLikers(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.SocialMessageApi();
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.listLikers(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 listReplies(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.SocialMessageApi();
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.listReplies(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 paymentSubscribe(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.SocialMessageApi();
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.paymentSubscribe(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 post(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.SocialMessageApi();
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.post(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 reply(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.SocialMessageApi();
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.reply(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 search(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.SocialMessageApi();
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.search(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 sendPrivateMessage(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.SocialMessageApi();
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.sendPrivateMessage(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 unlike(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.SocialMessageApi();
var body = new KodingApi.DefaultSelector(); // DefaultSelector | body of the request
apiInstance.unlike(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