Collabinate

PAID
By collabinate
Updated 4 months ago
Social
-/10
Popularity Score
-
Latency
-
Success Rate

Collabinate API Documentation

Collabinate provides an API for hosted activity streams, allowing you to seamlessly build social feeds, microblogging, and collaboration into your application.

View API Details
Activities
POSTCreate Activity
DELETEDelete Activity
GETGet Activity
PUTUpdate Activity
Follows
POSTFollow Multiple
PUTFollow Entity
GETGet All Following
GETGet Followers
GETGet Following
DELETEUnfollow Entity
Comments
POSTPost Comment
DELETEDelete Comment
GETGet Comment
GETGet Comments
PUTUpdate Comment
Feeds
GETGet Feed
Likes
GETGet Likers
GETGet Like
PUTLike Activity
DELETEUnlike Activity
Streams
GETGet Stream
Entities
GETGet Entity
DELETEDelete Entity
POSTCreate Activity

Adds a single activity to the stream for an entity. The posted data should be in the Activity Streams format (http://activitystrea.ms/specs/json/1.0/#activity). If it is not, the data will be added to the "content" value of a newly created activity. Note that the Collabinate system will generate an ID and add it to the activity. If the activity already has an ID, it will be moved to a metadata field. Adding an activity with an existing ID should be performed via PUT. Comments and likes contained in the activity will be processed by the system unless the URL query parameters "ignoreComments=true" or "ignoreLikes=true" are present.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
entityIdSTRING
REQUIRED
ActivityJSON_STRING
REQUIREDIn its simplest form, an activity consists of an actor, a verb, an object, and an optional target. It tells the story of an entity (often a person) performing an action on or with an object -- "Geraldine posted a photo to her album" or "John shared a video". In most cases these components will be explicit, but they may also be implied.
Optional Parameters
ignoreCommentsBOOLEAN
OPTIONAL
Code Snippet
unirest.post("https://collabinate.p.rapidapi.com/entities/{entityid}/stream?ignoreComments=false")
.header("X-RapidAPI-Host", "collabinate.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"title":"Martin posted a new blog entry","actor":{"url":"http://example.org/martin","objectType":"person","id":"tag:example.org:martin","image":{"url":"http://example.org/martin/image","width":250,"height":250},"displayName":"Martin Smith"},"verb":"post","object":{"url":"http://example.org/blog/entry","id":"tag:example.org:abc123-xyz"},"target":{"url":"http://example.org/blog/","objectType":"blog","id":"tag:example.org:abc123","displayName":"Martin's Blog"}})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://collabinate.p.rapidapi.com/entities/{entityid}/stream
Request Method: POST
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://collabinate.p.rapidapi.com/entities/{entityid}/stream?ignoreComments=false")
.header("X-RapidAPI-Host", "collabinate.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"title":"Martin posted a new blog entry","actor":{"url":"http://example.org/martin","objectType":"person","id":"tag:example.org:martin","image":{"url":"http://example.org/martin/image","width":250,"height":250},"displayName":"Martin Smith"},"verb":"post","object":{"url":"http://example.org/blog/entry","id":"tag:example.org:abc123-xyz"},"target":{"url":"http://example.org/blog/","objectType":"blog","id":"tag:example.org:abc123","displayName":"Martin's Blog"}})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication