resources

List resources for a sentence range (public)

Changed on
get/api/books/{slug}/resources

Request

  • The document declares no server URL.
  • Auth
    none 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

ResourceListResponse required
resources, ResourceResponse[] required

Changes

    • info

      added the optional property resources/items/source/oneOf[#/components/schemas/SourceResponse]/original_year_circa to the response with the status

    • breaking

      the query request parameter kind was restricted to a list of enum values

    • breaking

      added subschema #1 to the resources/items/verbatim_kind response property oneOf list for the response status

    34 more changes in this revision