Books
Get book content by slug
Changed onRetrieve a slice of book content by slug or ID. Defaults to 10 pages starting at index 0.
get/book/{bookSlug}
Request
- Base URLhttps://api.usul.ai
- URLhttps://api.usul.ai/book/{bookSlug}
- Authnone declared
Path parameters
bookSlugstring required
The slug or ID of the book
Query parameters
versionIdstring
Book version ID. Omit to use the default version.
locale'en' | 'ar'
Locale for localized content
startIndexinteger
Zero-based index of the first content page to return
sizeinteger
Number of content pages to return
includeBookboolean
Include the book record in the response
fieldsstring
Comma-separated content fields to include: pdf, headings, indices, publication_details
Response
Book content retrieved successfully
Changes
- info
endpoint added
- info