Get Page Resources
page_get_resourcesRetrieve attachments and grids linked to a Yandex Wiki page, with filters for type, title search, and pagination.
Instructions
Get resources linked to a Yandex Wiki page, including attachments and grids.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Wiki page slug or full Wiki URL. Provide either page_id or slug. | |
| cursor | No | Opaque pagination cursor returned by the previous call. | |
| search | No | Optional title search query for resources. | |
| page_id | No | Wiki page numeric ID. Provide either page_id or slug. | |
| order_by | No | Optional resource sorting field. | |
| fetch_all | No | Follow pagination automatically and return all items in one call (up to ~500). The response then carries truncated=false when the list is complete, or truncated=true with next_cursor to continue. | |
| page_size | No | Page size for cursor-based endpoints. | |
| resource_types | No | Optional resource types filter. Supported values: attachment, grid. Pass them as an array, for example ['attachment']. | |
| order_direction | No | Optional resource sorting direction. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | No | ||
| truncated | No | ||
| next_cursor | No | ||
| prev_cursor | No |