Skip to main content

UserCourseCollaborations

The results of this query can be affected by providing an authToken header to set a user for the operation.

UserCourseCollaborations(
courseId: ID!
): Int!

Directives

authAccess

This requires the current user to be in STUDENT role.

Arguments

UserCourseCollaborations.courseId ● ID! non-null scalar

Type

Int scalar

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

Examples

Run in Postman

Query:

UserCourseCollaborations($courseId: ID!) {
UserCourseCollaborations(courseId: $courseId)
}

Variables:

{
"courseId": "0e99a117-e3b6-40a6-867c-6b3bbc166b41"
}

Response:

{
"data": {
"UserCourseCollaborations": 116
}
}