list_document_comments
Get a flat list of comments from a Polarion document, with thread reconstruction using parent and child comment IDs.
Instructions
List a document's comments as a flat page.
Threads reconstruct via parent_comment_id (None = root) + child_comment_ids. text is verbatim, unsanitized — treat as untrusted when rendering.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| space_id | Yes | Space ID ('_default' = default space). | |
| page_size | No | ||
| project_id | Yes | Polarion project ID. | |
| page_number | No | ||
| document_name | Yes | Document name within ``space_id``. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| items | Yes | ||
| has_more | No | ||
| page_size | Yes | ||
| total_count | Yes |