Collections

[Deprecated] Add a video to a collection

Changed on

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.

post/collections/{collection_id}/videos

Request

  • Base URL
    https://api.cloudglue.dev/v1
  • Auth
    HTTP bearer

Path parameters

collection_idstring required

The ID of the collection to add the video file to

Request body

OR

Response

Successful file addition

collection_idstring required

ID of the collection

file_idstring required

ID of the file

object'collection_file' required

Object type, always 'collection_file'

added_atinteger required

Unix timestamp in milliseconds when the file was added to the collection

status'pending' | 'processing' | 'completed' | 'failed' | 'not_applicable' required

Overall processing status of the file in this collection

searchable_status'pending' | 'processing' | 'completed' | 'failed'

Indexing status of the file's search documents in this collection. Only present for media-descriptions, rich-transcripts, metadata, and entities collections. For entities collections it tracks entity indexing: file-level collections index one document per file, segment-level collections one per segment.

Changes

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status