Books

Get book content by slug

Changed on

Retrieve a slice of book content by slug or ID. Defaults to 10 pages starting at index 0.

get/book/{bookSlug}

Request

  • Base URL
    https://api.usul.ai
  • URL
    https://api.usul.ai/book/{bookSlug}
  • Auth
    none 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

contentobject

Page content for the requested version

Changes