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
CodeDetail
404Diagnostic passage not found
404User not found
400Student is not eligible to take Passage ID: xx
Endpoint Test