Skip to main content
GET
/
powerpath
/
getNextQuestion
Get next question
curl --request GET \
  --url https://api.alpha-1edtech.ai/powerpath/getNextQuestion \
  --header 'Authorization: Bearer <token>'
{
  "score": 123,
  "question": {
    "id": "<string>",
    "index": 123,
    "title": "<string>",
    "url": "<string>",
    "difficulty": "medium",
    "humanApproved": true,
    "content": {
      "rawXml": "<string>",
      "type": "<string>"
    },
    "response": "<string>",
    "responses": {},
    "correct": true,
    "result": {
      "score": 123,
      "feedback": "<string>",
      "outcomes": {}
    },
    "resultId": "<string>",
    "learningObjectives": [
      "<string>"
    ]
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

student
string
required

The sourcedId of the student who is answering the question

lesson
string
required

The sourcedId of the lesson (ComponentResource)

Response

Success

score
number
required

The current PowerPath score of the student in this lesson

question
object
required

A PowerPath Test Question