Set download
set_downloadHost a file behind a stable link (/api/downloads/); link to it from an or button. New: name + file. New version: downloadId + file (same link). Roll back: downloadId + currentVersionId. File = filePath (stdio) or an upload's mediaId (a public upload, e.g. a chat attachment, is moved private). access makes it members-only. A plays it. Pro+; .exe/.dmg etc need Agency.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Site id. | |
| name | No | Display name; required when creating. | |
| label | No | e.g. v1.2 | |
| notes | No | Changelog. | |
| access | No | Members-only: members true = any plan; plans = one of these. members false = public. | |
| mediaId | No | An uploaded file's mediaId (upload_file or a chat attachment); not images. | |
| filename | No | Saved-as name; required with mediaId. | |
| downloadId | No | Existing download; omit to create. | |
| currentVersionId | No | Serve this existing version. |