Skip to content

Javascript API v1

Maxence Lange edited this page May 29, 2017 · 8 revisions

createCircle(type, name, callback);

Create a new circle. You must specify type and name. type is one of this value:

CIRCLES_PERSONAL is 1 or 'personal';
CIRCLES_HIDDEN is 2 or 'hidden';
CIRCLES_PRIVATE is 4 or 'private';
CIRCLES_PUBLIC is 8 or 'public'; 

joinCircle(circleId, callback);

This function will make the current user to join a circle identified by its Id.

leaveCircle(circleId, callback);

searchCircles(type, name, level, callback);

destroyCircle(circleId, callback);

detailsCircle(circleId, callback);

addMember(circleId, userId, callback);

removeMember(circleId, userId, callback);

levelMember(circleId, userId, level, callback);

shareToCircle(circleId, source, type, item, callback);

linkCircle(circleId, remote, callback);

Clone this wiki locally