API · Assets · Register a completed direct upload
Register an asset after the client successfully PUTs its bytes to the
signed storage URL returned by signAssetUpload. Carry every registration
field from that response unchanged and use the original filename for
asset_name. Returns the permanent asset UUID used by social media.
Authentication
AuthorizationApi-Key
Header authentication of the form Api-Key <token>
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
id
The same resource_id used to sign the upload.
asset_type
Asset type returned by signAssetUpload.
asset_key
Storage key returned by signAssetUpload.
asset_name
Display filename for the asset.
asset_url
Permanent asset URL returned by signAssetUpload.
thumbnail
Asset/thumbnail URL returned by signAssetUpload.asset.
bucket_name
Storage bucket returned by signAssetUpload.
payload
Response
Asset registered
id
asset_url
thumbnail
Errors
400
Bad Request Error
401
Unauthorized Error
