Add a new version to a file
Files
Add a new version to a file
Side effect: when set_as_current=true, the parent file is repointed at this new version. Queues a metadata extraction job. The new version’s file extension must match the parent file’s extension.
POST
Add a new version to a file
Authorizations
API keys are minted in the AutoPrintFarm web app under Settings → API Keys. Send as Authorization: Bearer apf_live_.... Keys are shown exactly once at creation and can be revoked at any time.
Path Parameters
Parent print file ID
Body
application/json
Tenant-scoped storage key of the uploaded version file. Extension must match the parent file.
Minimum string length:
1Free-form release notes (max 500 chars).
Maximum string length:
500If true (default), promote this version to current and repoint the parent file at it.