Importing (upload alternative)
Create a version for an asset
Requires the commit_id, asset_id, and temp upload id. Adds the version with the file from the temp location and assigns the version to the commit. Returns version_id on success.
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
The ID of the asset.
The ID of the commit.
The temporary upload key.
Description of the version.
Name of the version.
Whether to set this version as current.
The parent commit ID.
The checksum of the file.
Response
200 - application/json
Successfully created version
The ID of the created version.
Was this page helpful?