books
Retrieves a list of chapters of a given book
Retrieves a list of chapters of a given book; paginated, sorted and filtered by attributes.
get/v1/books/{id}/chapters
Path parameters
Example:c1637a49-3cc8-4285-93a1-28e6579f1f20
The identifier of the book. Must be a valid UUID v4 or slug.
Query parameters
page[size]integer
The number of returned results per page (between 1 and 100).
page[number]integer
The page number of the returned results.
sortstring[]
Sort books by the given field. If prefixed with "-" sort is descending.
filterobject nullable
Filter chapters by the given field. Use ransack matchers to filter.
See [Ransack Search Matchers]
(https://activerecord-hackery.github.io/ransack/getting-started/search-matches/).
Example: { "filter[title_cont]": "Glass" }
Response
A list of chapters