Collaborations
API for accessing course and group collaboration information.
A Collaboration object looks like:
A Collaborator object looks like:
CollaborationsController#api_index
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.
Returns a list of Collaboration objects.
CollaborationsController#members
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:
Parameter | Type | Description |
---|---|---|
|
|
Allowed values: |
Example Request:
Returns a list of Collaborator objects.
CollaborationsController#potential_collaborators
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.
Returns a list of User objects.
© Instructure, Inc. Generated on Wed Nov 6 14:20:05 2024 This documentation is generated directly from the Canvas LMS source code, available on Github.
Last updated