Assets V2

Generate Upload URL

Generates a presigned URL for uploading an asset file. Upload the file via PUT to the returned URL, then create the asset record. Requires assets:write scope.

post/v2/assets/upload-url

Request body

project_idstring

ID of the project to upload the asset for

application_idstring required

ID of the application

file_namestring required

Original file name

content_typestring required

Response

Success

upload_urlstring required

Presigned URL to PUT the file to

keystring required

Storage key for the uploaded file

public_urlstring required

Public URL where the asset will be accessible after upload

Changes

No recorded changes to this endpoint across all 1 revision of this API.