Attach uploaded files to Wiki page
wiki_attachments_attachAttach files from finished upload sessions to a Yandex Wiki page. Run after closing sessions to link uploaded files to the target page.
Instructions
Attach file(s) from finished upload sessions to a wiki page.
The final step of the upload pipeline: create the session (uploadsessions_create),
send the bytes (uploadsessions_parts_upload), close it (uploadsessions_finish),
then attach here. For one small file, attachments_upload runs the whole pipeline in
a single call. Returns the newly-attached files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | Numeric id of the page to attach to. | |
| session_ids | Yes | ``session_id`` of each FINISHED upload session to attach. |