curl --request GET \
--url https://api.alpha-1edtech.ai/powerpath/course-sequence/:id/stages/after/course \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"title": "<string>",
"grades": [
"-1"
],
"subject": "Reading",
"type": "course",
"properties": {
"courseReferences": [
{
"courseId": "<string>",
"refAddedAt": "2023-11-07T05:31:56Z"
}
],
"testTypes": [
"test_out"
],
"learningAppId": "<string>"
}
}Returns a stage (CourseSequenceStage object) that comes after the specified course in a course sequence.
You need to provide the course_id of the course after which you want to get the next stage.
You can also provide grade.
This is not mandatory, but highly recommended, since the same course may appear in multiple grades.
Example: eGummpp course with id 0493f468-e1dc-421f-bb5a-8de4a704e459 in the Language sequence is on grade 7 and grade 8.
When you got 204 status code - it means the sequence is ended after the course you provided.
curl --request GET \
--url https://api.alpha-1edtech.ai/powerpath/course-sequence/:id/stages/after/course \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"title": "<string>",
"grades": [
"-1"
],
"subject": "Reading",
"type": "course",
"properties": {
"courseReferences": [
{
"courseId": "<string>",
"refAddedAt": "2023-11-07T05:31:56Z"
}
],
"testTypes": [
"test_out"
],
"learningAppId": "<string>"
}
}The access token received from the authorization server in the OAuth 2.0 flow.
The unique identifier (UUID)
1-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 Course Sequence Stage
The unique identifier of the stage. For course type stages it is the course id.
The title of the stage. For course type stages it is the course title.
1 - 255The K-12 grade level associated with the stage.
-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 The subject associated with the stage
Reading, Language, Vocabulary, Social Studies, Writing, Science, FastMath, Math, None, Other The type of the stage
course, assessment, hole-filling The additional properties associated with the stage
Show child attributes