Retrieves a list of Hub Document Pages for the specified hub. Includes both root-level pages and sub pages.
This operation is performed by calling function getHubDocumentPagesV2025R0.
See the endpoint docs at API Reference.
await client.hubDocument.getHubDocumentPagesV2025R0({
hubId: hubId,
} satisfies GetHubDocumentPagesV2025R0QueryParams);
GetHubDocumentPagesV2025R0QueryParams
GetHubDocumentPagesV2025R0OptionalsInputThis function returns a value of type HubDocumentPagesV2025R0.
Returns a Hub Document Pages response whose entries array contains root-level pages and sub pages. Includes pagination when more results are available.
Retrieves a sorted list of all Hub Document Blocks on a specified page in the hub document, excluding items.
Blocks are hierarchically organized by their parent_id.
Blocks are sorted in order based on user specification in the user interface.
The response will only include content blocks that belong to the specified page. This will not include sub pages or sub page content blocks.
This operation is performed by calling function getHubDocumentBlocksV2025R0.
See the endpoint docs at API Reference.
await client.hubDocument.getHubDocumentBlocksV2025R0({
hubId: hubId,
pageId: pageId,
} satisfies GetHubDocumentBlocksV2025R0QueryParams);
GetHubDocumentBlocksV2025R0QueryParams
GetHubDocumentBlocksV2025R0OptionalsInputThis function returns a value of type HubDocumentBlocksV2025R0.
Returns a Hub Document Blocks response whose entries array contains all content blocks of the specified page, except for items.
To retrieve items, use the GET /hub_items endpoint.