Create an attachment and associate it with a segment

Required roles:

  • can_write_segments
post/v1/assets/{asset_id}/segments/{segment_id}/attachments/

Request

Path parameters

asset_idstring required
segment_idstring required

Query parameters

use_google_resumable_uploadboolean

Set to True to get a google resumable upload link

Headers

App-IDstring required
Auth-Tokenstring required

Request body

asset_idstring uuid nullable
content_typestring
date_createdstring date-time
date_modifiedstring date-time
filenamestring
formatstring nullable
idstring uuid
namestring
segment_idstring uuid
sizeinteger nullable
status'OPEN' | 'GROWING' | 'AWAITED' | 'CLOSED' | 'FAILED' | 'ARCHIVED' | 'MISSING' | 'REDISCOVERED' | 'DELETED'
storage_idstring uuid
storage_methodstring
upload_credentialsobject
upload_headersobject
upload_methodstring
upload_urlstring
urlstring

Response

Returns the attachment that was created for this segment

asset_idstring uuid nullable
content_typestring
date_createdstring date-time
date_modifiedstring date-time
filenamestring
formatstring nullable
idstring uuid
namestring
segment_idstring uuid
sizeinteger nullable
status'OPEN' | 'GROWING' | 'AWAITED' | 'CLOSED' | 'FAILED' | 'ARCHIVED' | 'MISSING' | 'REDISCOVERED' | 'DELETED'
storage_idstring uuid
storage_methodstring
upload_credentialsobject
upload_headersobject
upload_methodstring
upload_urlstring
urlstring

Changes

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