Books

Get book page content

Changed on

Retrieve one content page from a book. index is the zero-based content index (reader page 1 is index=0). versionId is optional and defaults to the first AI-supported, Turath, or available version.

get/book/page/{bookSlug}

Request

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

indexinteger required

Zero-based content index to retrieve

locale'en' | 'ar'

Locale for localized content

includeBookboolean

Include the book record in the response

fieldsstring

Comma-separated content fields to include: pdf, headings, indices, publication_details

Response

Page content retrieved successfully

contentobject

Page content for the requested version

Changes