Collaborations
API for accessing course and group collaboration information.
A Collaboration object looks like:
A Collaborator object looks like:
GET /api/v1/courses/:course_id/collaborations
GET /api/v1/courses/:course_id/collaborations
Scope: url:GET|/api/v1/courses/:course_id/collaborations
GET /api/v1/groups/:group_id/collaborations
GET /api/v1/groups/:group_id/collaborations
Scope: url:GET|/api/v1/groups/:group_id/collaborations
A paginated list of collaborations the current user has access to in the context of the course provided in the url. NOTE: this only returns ExternalToolCollaboration type collaborations.
GET /api/v1/collaborations/:id/members
GET /api/v1/collaborations/:id/members
Scope: url:GET|/api/v1/collaborations/:id/members
A paginated list of the collaborators of a given collaboration
Request Parameters:
include[]
string
“collaborator_lti_id”: Optional information to include with each member. Represents an identifier to be used for the member in an LTI context.
“avatar_image_url”: Optional information to include with each member. The url for the avatar of a collaborator with type ‘user’.
Allowed values: collaborator_lti_id
, avatar_image_url
Example Request:
GET /api/v1/courses/:course_id/potential_collaborators
GET /api/v1/courses/:course_id/potential_collaborators
Scope: url:GET|/api/v1/courses/:course_id/potential_collaborators
GET /api/v1/groups/:group_id/potential_collaborators
GET /api/v1/groups/:group_id/potential_collaborators
Scope: url:GET|/api/v1/groups/:group_id/potential_collaborators
A paginated list of the users who can potentially be added to a collaboration in the given context.
For courses, this consists of all enrolled users. For groups, it is comprised of the group members plus the admins of the course containing the group.
Last updated
Was this helpful?