Get Document Version Contents Handler
List all sections and chunks for a document version in depth-first logical order.
Returns a discriminated union of SectionContentItem and ChunkContentItem,
distinguished by the part_type field (“SECTION” or “CHUNK”).
Use content_type to return only one type (e.g. content_type=CHUNK for
chunk-only pagination where offset/limit apply only to chunks).
Headers
Path Parameters
DocumentVersion ID
Query Parameters
Optional section ID to scope traversal to a subtree
Filter by content type: SECTION or CHUNK. Omit to return both types.
SECTION, CHUNK Number of items per page
1 <= x <= 100Number of items to skip
x >= 0Cookies
Response
Successful Response
List of items
Response model for a section item in document version contents.
- SectionContentItem
- ChunkContentItem
Total number of items
x >= 0Number of items per page
x >= 1Number of items to skip
x >= 0