upload-wiki-page-file
Attach a file to an existing Dooray wiki page using wiki and page IDs plus the file's absolute path. Returns file and attach IDs for the uploaded file.
Instructions
Upload a file to an existing Dooray wiki page.
Required Parameters:
wikiId: The wiki ID
pageId: The wiki page ID to attach the file to
filePath: Absolute path to the file to upload (e.g., "/Users/name/document.pdf")
Example: { "wikiId": "123456", "pageId": "789012", "filePath": "/Users/nhn/Downloads/report.pdf" }
Returns: File ID and attach file ID of the uploaded file.
Note: The file must exist at the specified path. The type is set to "general" automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | Wiki page ID to attach the file to | |
| wikiId | Yes | Wiki ID | |
| filePath | Yes | Absolute path to the file to upload |