list_document_attachments
List a document's attachments as a paginated page in Polarion. Get attachment IDs that body references use, helping detect missing or invalid file references.
Instructions
List a document's attachments as a paginated page.
Document attachments only, not work item attachments. Returned id is the exact token a body references as attachment:{id}; Polarion never validates that reference, so a body may point at a missing file. Order is server-defined and not requestable. Use read_document for body context, list_documents for valid space/document ids.
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 |