"As a Reader, I want to get a list of all categories that contain pages that use a reference, so that I can understand the context of a reference."
GET /reference/{id}/categories?(before={before}|after={after})
Get categories that use this reference.
Parameters:
- id: id of the reference
- before: only get categories before this title
- after: category title, only get pages after this category title
Only one of before or after allowed.
Notable request headers: none
Status codes:
- 200: OK
- 404: No such reference
- 400: invalid before or after parameters, or both
Notable response headers: none
Response body: JSON object, with these properties
- next: full link to next segment of the list, or null if N/A
- prev: full link to the previous segment of the list, or null if N/A
- first: full link to the first segment of the list
- pages: array of 0-20 Category objects from the schema