Add Video to Collection
DEPRECATED: Use POST /collections/{collection_id}/media instead.
Add a video to a collection. This endpoint is deprecated - use the /media endpoint which supports both video and audio files.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the collection to add the video file to
Body
File association parameters
- Option 1
- Option 2
The ID of the file to add to the collection
Segmentation job id to use. If not provided will use default to uniform 20s segmentation. Cannot be provided together with segmentation_config.
Configuration for video segmentation. Cannot be provided together with segmentation_id.
Response
Successful file addition
ID of the collection
ID of the file
Object type, always 'collection_file'
collection_file Unix timestamp in milliseconds when the file was added to the collection
Overall processing status of the file in this collection
pending, processing, completed, failed, not_applicable The file object
Segmentation information for this file in the collection. Only present when the file has been segmented.