CurrentUserLearningPathMilestoneCompletionsBySlug
The results of this query can be affected by providing an authToken header to set a user for the operation.
CurrentUserLearningPathMilestoneCompletionsBySlug(
slug: Slug!
): [LearningPathAction]
Directives
authAccess
This requires the current user to be in
STUDENT
role.
Arguments
CurrentUserLearningPathMilestoneCompletionsBySlug.slug
● Slug!
non-null scalar
Type
LearningPathAction
object
Examples
Query:
CurrentUserLearningPathMilestoneCompletionsBySlug($slug: Slug!) {
CurrentUserLearningPathMilestoneCompletionsBySlug(slug: $slug) {
id
learningPath {
...LearningPathFragment
}
milestone {
...MilestoneFragment
}
type
source
user {
...UserFragment
}
timestamp
}
}
Variables:
{
"slug": "Slug"
}
Response:
{
"data": {
"CurrentUserLearningPathMilestoneCompletionsBySlug": [
{
"id": "0e99a117-e3b6-40a6-867c-6b3bbc166b41",
"learningPath": "LearningPath",
"milestone": "Milestone",
"type": "abc123",
"source": "xyz789",
"user": "User",
"timestamp": "2025-03-26T13:39:48.013Z"
}
]
}
}