linkding_upload_asset
Upload a local file as an asset for a specified Linkding bookmark; omit confirm to preview the filename and size before writing.
Instructions
Upload a local file as a bookmark asset. POST multipart field file to /api/bookmarks/<bookmark_id>/assets/upload/. Omit confirm for a dry-run that names the file and its size.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set to the boolean true to execute the write. Omit this field for a dry-run preview. false and the string true are rejected. | |
| file_path | Yes | Local file to upload. The request is multipart with one part named file. | |
| bookmark_id | Yes | Bookmark id. |