Interface CollabRestService
@Path("/collab/v0")
public interface CollabRestService
The REST API for the collabratory.
-
Method Summary
Modifier and TypeMethodDescriptiongetCollabContext
(String contextId) Get the context token.getCollabPermissions
(int id) Get the context permissions.
-
Method Details
-
getCollabContext
@GET @Path("/collab/context/{contextId}") @Produces("application/json") CollabContext getCollabContext(@PathParam("contextId") String contextId) Get the context token.- Parameters:
contextId
- The collabratory ID.- Returns:
- the token.
-
getCollabPermissions
@GET @Path("/collab/{id}/permissions") @Produces("application/json") CollabPermissions getCollabPermissions(@PathParam("id") int id) Get the context permissions.- Parameters:
id
- The collabratory ID.- Returns:
- The permissions set
-