nodes
Get paginated nodes for infinite scroll
Changed onPages are sized by a byte budget, not a node count, so their length varies with the book's node sizes.
get/api/books/{slug}/nodes
Request
- The document declares no server URL.
- Authnone declared
Path parameters
slug, string required
Book slug
Query parameters
after, integer nullable
sort_order cursor — fetch nodes after this value
before, integer nullable
sort_order cursor — fetch nodes before this value
original, boolean nullable
include original_text/original_html fields
source_nodes, string nullable
Comma-separated source node UUIDs — fetch nodes whose source_node_id matches
node_ids, string nullable
Comma-separated node UUIDs — fetch nodes by their own ID
at, string nullable
Anchor node slug — return the anchor and what follows, with no nodes before it
Response
Page of nodes with content
Node Page required
has_more, boolean required
has_previous, boolean required
nodes, Node Detail[] required
Changes
- warning
deleted the
queryrequest parameterback - warning
deleted the
queryrequest parameterlimit
- warning
- info
added the optional property
nodes/items/blocks/items/sentences/items/margin_notesto the response with the status
- info