UpdateTopicAndCourseProgress
The results of this mutation can be affected by providing an authToken header to set a user for the operation.
UpdateTopicAndCourseProgress(
topicId: ID!
progress: Int!
): Boolean!
Directives
authAccess
This requires the current user to be in
STUDENT
role.
Arguments
UpdateTopicAndCourseProgress.topicId
● ID!
non-null scalar
UpdateTopicAndCourseProgress.progress
● Int!
non-null scalar
Type
Boolean
scalar
The
Boolean
scalar type representstrue
orfalse
.
Examples
Query:
UpdateTopicAndCourseProgress(
$topicId: ID!,
$progress: Int!
) {
UpdateTopicAndCourseProgress(
topicId: $topicId,
progress: $progress
)
}
Variables:
{
"topicId": "0e99a117-e3b6-40a6-867c-6b3bbc166b41",
"progress": 116
}
Response:
{
"data": {
"UpdateTopicAndCourseProgress": false
}
}