Upload Page Attachment
page_upload_attachmentUpload a local file and attach it to a Yandex Wiki page. Optionally append file macro markup automatically.
Instructions
Upload a local file to Yandex Wiki and attach it to a page.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Wiki page slug or full Wiki URL. Provide either page_id or slug. | |
| page_id | No | Wiki page numeric ID. Provide either page_id or slug. | |
| file_path | Yes | Local filesystem path to the file that should be uploaded. | |
| append_markup | No | Whether to append Wiki file macro markup to the page after uploading the attachment. | |
| append_location | No | Where to append the generated file macro when append_markup is true. | bottom |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| attachments | No | ||
| appended_markup | No | ||
| appended_content | No |