Passage Available
Returns a list of all passages available to the user, including passage metadata like rating, fiction/non-fiction, and category (e.g.Animals/Food Chain).
Warning, the result many be lenghty.
URL: /passages/:refId/:type
HTTP Method: GET
Sample Code: Download
Response
{
"metadata":
{
"status" : Numeric,
"message" : "String content"
},
"objects":
[
{
"mainCategory" : "String content",
"subCategory" : "String content",
"passageId" : "String content",
"title" : "String content",
"rating" : Numeric
}
]
}
Exception
Endpoint Test
| Code | Detail |
| 404 | User not found |
| 404 | Cannot retrieve diagnostic passage for this user |