GET
/
collections
/
{collection_id}
/
entities
curl --request GET \
  --url https://api.cloudglue.dev/v1/collections/{collection_id}/entities \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "data": [
    {
      "file_id": "<string>",
      "data": {
        "entities": {},
        "segment_entities": [
          {
            "start_time": 123,
            "end_time": 123,
            "entities": {}
          }
        ]
      }
    }
  ],
  "total": 123,
  "limit": 123,
  "offset": 123
}

For details on how to create a video collection, see Create Collection

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

Query Parameters

limit
integer
default:50

Maximum number of files to return

Required range: x <= 100
offset
integer
default:0

Number of files to skip

order
enum<string>
default:added_at

Order the files by a specific field

Available options:
added_at,
filename
sort
enum<string>
default:desc

Sort the files in ascending or descending order

Available options:
asc,
desc
added_before
string

Filter files added before a specific date (YYYY-MM-DD format), in UTC timezone

added_after
string

Filter files added after a specific date (YYYY-MM-DD format), in UTC timezone

Response

200
application/json

A list of file entities in the collection

The response is of type object.