"As a Reader, I want to have a list of all references in a section of a page, so that I can review and compare them in different ways."
Similar to T251140, but restricted to a section of a page.
GET /page/{title}/section/{index}/references?(before={before}|after={after})
Return one section of the list of references for the page.
Parameters:
- title: title of the page
- index: section of the page
- before: if provided, only show references strictly before this id (non-inclusive). This is primarily for segmenting the list.
- after: if provided, only show references strictly after this id (non-inclusive). Also for segmentation. Only one of before or after are allowed.
Notable headers: none
Request body: none
Status codes:
- 200: OK
- 404: No such title or section index
- 400: No such id, or wrong parameters (both before and after)
Notable response headers: none
Response body: JSON object, with these properties:
next: full url of the next segment of the list, null if no more segments
prev: full url of the previous segment of the list, null if this is the first segment
first: full url of the first segment of the list
references: array of Reference objects from the Schema, up to 100. In the order that they appear in the page.