Create asset version
create_asset_versionUpload a file from a public URL as a NEW VERSION of an existing asset — the asset keeps its token, boards, and links, and its live bytes are REPLACED (head_version_number moves forward; the current head is snapshotted first). Requires a write-scope token and versioning enabled on the workspace plan. The URL must be a public https:// address (private/loopback/metadata hosts are refused). NOT idempotent — each call uploads fresh bytes and mints a new version even for an identical file, so on a timeout do NOT blind-retry; re-list versions with list_asset_versions to check whether it landed. v1 uploads a single request up to a size cap; files that need multipart upload on this workspace's storage (>=5MB on Backblaze) or exceed the cap are refused with an error directing you to the Playbook web or desktop app. The optional comment is recorded on the snapshot of the REPLACED head (not on the new content), matching revert.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | Public https:// URL of the new file's bytes | |
| title | No | Filename used to derive extension/media type; defaults to the URL's last path segment | |
| token | Yes | Token of the EXISTING asset to add a version to | |
| width | No | Pixel width — only pass if actually known; do NOT guess. Omit and the server derives it. | |
| height | No | Pixel height — only pass if actually known; do NOT guess. Omit and the server derives it. | |
| comment | No | Optional note recorded on the snapshot of the REPLACED head (not the new content) | |
| media_type | No | MIME type; defaults to the source response's Content-Type | |
| organization | No | Workspace slug, as returned by list_organizations. Omit it when the account has a single workspace — it is then resolved from your token. Pass it only when the account has several, or when you mean a workspace other than the obvious one. |