curl --request PATCH \
--url https://api.alpha-1edtech.ai/goals/{studentId}/courses/{goalId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"pacing": {
"mode": "target_date",
"endDate": "<string>"
}
}
'{
"course": {
"course": {
"id": "<string>",
"title": "<string>",
"subject": "<string>"
},
"goal": {
"id": "<string>",
"status": "active",
"target": {
"metric": "xp",
"value": "<string>"
},
"pacing": {
"mode": "target_date",
"endDate": "<string>"
}
},
"progress": {
"courseId": "<string>",
"courseTitle": "<string>",
"pctComplete": 123,
"pctCompleteApp": 123,
"pctCompleteLessons": 123,
"pctCompleteXP": 123,
"totalXP": 123,
"earnedXP": 123,
"remainingXP": 123,
"totalUnits": 123,
"completedUnits": 123,
"remainingUnits": 123,
"totalLessons": 123,
"completedLessons": 123,
"remainingLessons": 123
}
}
}Updates an atomic course-scoped goal without forcing course clients through subject-oriented payloads.
curl --request PATCH \
--url https://api.alpha-1edtech.ai/goals/{studentId}/courses/{goalId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"pacing": {
"mode": "target_date",
"endDate": "<string>"
}
}
'{
"course": {
"course": {
"id": "<string>",
"title": "<string>",
"subject": "<string>"
},
"goal": {
"id": "<string>",
"status": "active",
"target": {
"metric": "xp",
"value": "<string>"
},
"pacing": {
"mode": "target_date",
"endDate": "<string>"
}
},
"progress": {
"courseId": "<string>",
"courseTitle": "<string>",
"pctComplete": 123,
"pctCompleteApp": 123,
"pctCompleteLessons": 123,
"pctCompleteXP": 123,
"totalXP": 123,
"earnedXP": 123,
"remainingXP": 123,
"totalUnits": 123,
"completedUnits": 123,
"remainingUnits": 123,
"totalLessons": 123,
"completedLessons": 123,
"remainingLessons": 123
}
}
}Documentation Index
Fetch the complete documentation index at: https://docs.timeback.com/llms.txt
Use this file to discover all available pages before exploring further.
The access token received from the authorization server in the OAuth 2.0 flow.
Course goal updated
Show child attributes