Assets

Asset status

The asset and its processing state. Poll until status is completed or failed.

get/assets/{assetId}

Request

  • Base URL: https://api.martini.film
  • URL: https://api.martini.film/assets/{assetId}
  • Auth: HTTP bearer

Path parameters

assetIdstring required

The asset id.

Query parameters

projectIdstring

The project the asset belongs to; defaults to the key’s default project.

Response

The asset.

assetIdstring required
projectIdstring required
canvasIdstring nullable required
status'pending' | 'uploading' | 'queued' | 'processing' | 'completed' | 'failed' required
assetType'video' | 'audio' | 'image' | 'set' | 'file'
urlstring nullable required

The durable Martini URL to use in generation media fields once completed.

proxyUrlstring
thumbnailUrlstring
waveformUrlstring
widthnumber
heightnumber
durationnumber
fileSizeBytesnumber
contentTypestring required
filenamestring

Changes

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