Skip to main content

LearningPathCurrentUserAwardTotals

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

LearningPathCurrentUserAwardTotals(
slug: Slug!
): [AwardTotal]

Directives

authAccess

This requires the current user to be in STUDENT role.

Arguments

LearningPathCurrentUserAwardTotals.slug ● Slug! non-null scalar

Type

AwardTotal object

Examples

Run in Postman

Query:

LearningPathCurrentUserAwardTotals($slug: Slug!) {
LearningPathCurrentUserAwardTotals(slug: $slug) {
resource {
... on Course {
...CourseFragment
}
... on LearningPath {
...LearningPathFragment
}
}
resourceId
awardType {
...AwardTypeFragment
}
total
}
}

Variables:

{
"slug": "Slug"
}

Response:

{
"data": {
"LearningPathCurrentUserAwardTotals": [
{
"resource": "Course",
"resourceId": "0e99a117-e3b6-40a6-867c-6b3bbc166b41",
"awardType": "AwardType",
"total": 326.65
}
]
}
}