GET
/
collections
/
{collection_id}
/
videos
/
{file_id}
Retrieve information about a specific video file in a collection
curl --request GET \
  --url https://api.cloudglue.dev/v1/collections/{collection_id}/videos/{file_id} \
  --header 'Authorization: Bearer <token>'
{
  "collection_id": "<string>",
  "file_id": "<string>",
  "object": "collection_file",
  "added_at": 123,
  "status": "pending",
  "file": {
    "id": "<string>",
    "status": "pending",
    "bytes": 123,
    "created_at": 123,
    "filename": "<string>",
    "uri": "<string>",
    "metadata": {},
    "video_info": {
      "duration_seconds": 123,
      "height": 123,
      "width": 123,
      "format": "<string>",
      "has_audio": true
    }
  },
  "segmentation": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "status": "pending",
    "file_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "segmentation_config": {
      "strategy": "uniform",
      "uniform_config": {
        "window_seconds": 31,
        "hop_seconds": 30.5
      },
      "shot_detector_config": {
        "threshold": 1,
        "min_seconds": 31,
        "max_seconds": 31,
        "detector": "adaptive"
      },
      "start_time_seconds": 1,
      "end_time_seconds": 1
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

collection_id
string
required

The ID of the collection

file_id
string
required

The ID of the file

Response

200
application/json

File details within the collection

The response is of type object.