nodes

Get paginated nodes for infinite scroll

Changed on
get/api/books/{slug}/nodes

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

slugstring required

Book slug

Query parameters

afterinteger nullable

sort_order cursor — fetch nodes after this value

beforeinteger nullable

sort_order cursor — fetch nodes before this value

limitinteger nullable

page size, default 20, max 50

originalboolean nullable

include original_text/original_html fields

source_nodesstring nullable

Comma-separated source node UUIDs — fetch nodes whose source_node_id matches

node_idsstring nullable

Comma-separated node UUIDs — fetch nodes by their own ID

atstring nullable

Anchor node slug — return a forward window centered on this node (combine with back to include nodes before the anchor)

backinteger nullable

Number of nodes to include before the at anchor (default 0)

Response

Page of nodes with content

has_moreboolean required
has_previousboolean required

Changes

    • info

      added the optional property ////// to the response with the status

    • info

      added the optional property //////// to the response with the status