resources
List resources for a sentence range (public)
Changed onget/api/books/{slug}/resources
Request
- The document declares no server URL.
- Authnone declared
Path parameters
slug, string required
Book slug
Query parameters
start, integer required
end, integer required
kind, 'body' | 'footnote' | 'figure'
Stored as the Postgres enum sentence_kind.
Response
Resources for the sentence range
Resource List Response required
resources, Resource Response[] required
Changes
- info
added the optional property
resources/items/source/oneOf[#/components/schemas/SourceResponse]/original_year_circato the response with the status
- info
- breaking
the
queryrequest parameterkindwas restricted to a list of enum values - breaking
added
subschema #1to theresources/items/verbatim_kindresponse propertyoneOflist for the response status
34 more changes in this revision
- breaking