Video Projects

Reserve a Project Asset

Project Assets are private editing dependencies and do not appear in the Workspace Media Library.

post/video-projects/{id}/assets

Request

  • Base URL: https://app.openpo.st/api/v1
  • URL: https://app.openpo.st/api/v1/video-projects/{id}/assets
  • Auth: one of:
    • HTTP bearer
    • API key in cookie openpost_session

Path parameters

idstring required

Video project ID

Request body

$schemastring uri

A URL to the JSON Schema for this object.

device_idstring
mime_typestring required
original_filenamestring required
preparationobject required

Non-destructive trim, crop, rotation, gain, mute, and cover-frame recipe

sha256string
sizeinteger required
stable_media_idstring required
workspace_idstring required

Example request

{
  "$schema": "https://example.com/api/v1/schemas/ReserveProjectAssetInputBody.json"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

attention_reasonstring
created_atstring required
device_idstring
idstring required
media_idstring
mime_typestring required
original_filenamestring required
preparationobject required
project_idstring required
requiredboolean required
sha256string
sizeinteger required
stable_media_idstring required
status'pending' | 'uploading' | 'ready' | 'needs_storage' | 'failed' required
updated_atstring required
uploaded_by_user_idstring required
workspace_idstring required

Example response

{
  "$schema": "https://example.com/api/v1/schemas/ProjectAssetResponse.json"
}

Changes

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