GET
/
files
/
{file_id}
/
thumbnails
Get thumbnails for a file
curl --request GET \
  --url https://api.cloudglue.dev/v1/files/{file_id}/thumbnails \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "total": 123,
  "limit": 123,
  "offset": 123,
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "url": "<string>",
      "time": 123,
      "segmentation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "segment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

file_id
string<uuid>
required

The ID of the file

Query Parameters

is_default
boolean
default:false

Filter thumbnails by default status. If true, will only return the default thumbnail for the file

segmentation_id
string<uuid>

Filter thumbnails by segmentation ID

limit
integer
default:50

Number of thumbnails to return

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

Offset from the start of the list

Required range: x >= 0

Response

List of thumbnails

object
enum<string>
required

Object type, always 'list'

Available options:
list
total
integer
required

Total number of segmentations matching the query

limit
integer
required

Number of items returned in this response

offset
integer
required

Offset from the start of the list

data
object[]
required