list_collective_page_attachments
Retrieve files attached to a collective page, including embedded images, linked files, and neighboring files for folder pages, while excluding trashed items.
Instructions
List the files attached to a page: those in its attachments folder (images and files embedded in or linked from it) and, for a folder page (one with subpages, a shared page or the landing page), other files next to it. Trashed ones are not listed.
Args: collective_id: The numeric collective ID. page_id: The numeric page ID.
Returns: JSON list of attachments with id, name, mimetype, size, timestamp, type ("text" for the attachments folder, "folder" for files next to the page) and path (usable with get_file).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| collective_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |