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.
client.getHubDocument().getHubDocumentPagesV2025R0(new GetHubDocumentPagesV2025R0QueryParams(hubId))
- queryParams
GetHubDocumentPagesV2025R0QueryParams- Query parameters of getHubDocumentPagesV2025R0 method
- headers
GetHubDocumentPagesV2025R0Headers- Headers of getHubDocumentPagesV2025R0 method
This 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.
client.getHubDocument().getHubDocumentBlocksV2025R0(new GetHubDocumentBlocksV2025R0QueryParams(hubId, pageId))
- queryParams
GetHubDocumentBlocksV2025R0QueryParams- Query parameters of getHubDocumentBlocksV2025R0 method
- headers
GetHubDocumentBlocksV2025R0Headers- Headers of getHubDocumentBlocksV2025R0 method
This 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.