Skip to content
JananiVenkat edited this page Jul 14, 2017 · 6 revisions

Welcome to the calvin-communities wiki!

APIs

METHOD API Description
POST /communities/:domain Add Details to create a new Community
GET /communities/:domain?counter=[true/false] Get Details of a particular Community
PATCH /communities/:domain Update Details of a particular Community
GET /communitymembership/:domain/members Get all members in a specified community
POST /communitymembership/:domain/members Add members into a community
PATCH /communitymembership/:domain/members Modify role of a members in a community
DELETE /communitymembership/:domain/members Remove members from a community
GET /communitytemplates/ Get the list of templates
GET /communitytemplates/allpurposes Get the list of purposes
GET /communitytemplates?purpose=purpose Get the specified templates on purpose
GET /communitytemplates/:templatename Get the specified template on template name
GET /communitytools/:domainname/tools GET all tools and their actions and activity events for a given domain
GET /communitytools/:domainname/tools/:toolid GET all actions and activity events for a given tool of a domain
POST /communitytools/:domainname/tools POST tools, actions and activity events for a particular domain
PATCH /communitytools/:domainname/tools/:toolid ADD actions for a given tool of a domain
DELETE /communitytools/:domainname/tools/:toolid DELETE a tool from a domain
DELETE /communitytools/:domainname/tools/:toolid/action/:name DELETE action of a tool from a domain
GET /communityroles/:domainName GET Roles & Theirs Actions for specified domain
GET /communityroles/:domainname?onlyroles=true GET List of Distinct Roles for specified domain
POST /communityroles/:domainname POST Add a new Role with Actions
PATCH /communityroles/:domainname/roles/:rolename Update Role for change Actions
GET /memberrequests/:domain Get all invite or request lists of particular domain
POST /memberrequests/:domain/type/:type Register invite or join request for specified community
PATCH /memberrequests/request/:domain/person/:person Update the status and member and role when the type is request
PATCH /memberrequests/invite/:domain/person/:person Update the status when the type is invite
DELETE /memberrequests/:domain/person/:person Delete the person if he rejected the request or invite
GET /membership/:username Get all communities for a specified member
GET /tools/:toolid/ GET all communities for a given tool
Clone this wiki locally