ConstArchive or delete multiple texts in one call.
The JSON path for the destructive bulk actions, so they work against a configurable API base URL instead of a same-origin form POST. The server scopes the action to the current user's texts.
'archive' or 'delete'
Text IDs to act on
Promise with the number of texts affected
Create a new text.
Text creation data
Promise with new text ID or error
Get annotation data for improved/annotated text view.
Text ID
Promise with annotation items and config
Get the audio metadata + player settings for the reader's media player.
Text ID
Promise with audio uri, saved position, and player settings
Get the book/chapter context for the reader's chapter navigation.
Text ID
Promise with { book }; book is null for a standalone text
Get print items for a text (for client-side print rendering).
Text ID
Promise with print items and config
Get word count statistics for one or more texts.
Array of text IDs or comma-separated string
Promise with text statistics
Get all words for a text (for client-side rendering).
Text ID
Promise with words array and config
Mark all unknown words in a text as ignored.
Text ID
Promise with count and words data
Mark all unknown words in a text as well-known.
Text ID
Promise with count and words data
Update display mode for text reading.
Text ID
Display mode settings
Promise with update result
Update an existing text and reparse it.
Same payload as create. Reparsing discards the text's sentences and word occurrences and builds them again, so reading progress in the text is lost — which is what the form POST did too.
Text ID to update
Text fields
Promise with the saved text ID or error
Texts API methods.