Skip to main content
POST
Add a new version to a file

Authorizations

Authorization
string
header
required

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

id
string
required

Parent print file ID

Body

application/json
storage_key
string
required

Tenant-scoped storage key of the uploaded version file. Extension must match the parent file.

Minimum string length: 1
notes
string

Free-form release notes (max 500 chars).

Maximum string length: 500
set_as_current
boolean
default:true

If true (default), promote this version to current and repoint the parent file at it.

Response

Version added

success
enum<boolean>
required
Available options:
true
data
object
required