Interface CollabRestService


@Path("/collab/v0") public interface CollabRestService
The REST API for the collabratory.
  • 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