Passage Detail
This function checks users eligibility for the specified passage and returns an error if user is not eligible.
URL: /passages/details/:refId/:passageId
HTTP Method: GET
Sample Code: Download
Response
{
"metadata":
{
"status" : 200,
"message" : "String content"
},
"object":
{
"title" : "String content",
"body" : "String content",
"passageId" : "String content",
"diagnosticPassage" : Boolean,
"clozes" :
[
{
"clozeItemNumber" : Numeric,
"clozeItems" : ["String content"]
}
]
}
}
Exception
Endpoint Test
| Code | Detail |
| 404 | Diagnostic passage not found |
| 404 | User not found |
| 400 | Student is not eligible to take Passage ID: xx |