Skip to main content
GET
/
files
/
{file_id}
/
segments
/
{segment_id}
Get a file segment
curl --request GET \
  --url https://api.cloudglue.dev/v1/files/{file_id}/segments/{segment_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "file_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "start_time": 123,
  "end_time": 123,
  "thumbnail_url": "<string>",
  "metadata": {},
  "segmentation_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

segment_id
string<uuid>
required

The ID of the segment

Response

File segment

id
string<uuid>
required

The ID of the segment

file_id
string<uuid>
required

The ID of the file

start_time
number
required

The start time of the segment in seconds

end_time
number
required

The end time of the segment in seconds

thumbnail_url
string
required

The URL of the thumbnail for the segment (if available)

metadata
object

The user defined metadata for the segment

segmentation_id
string<uuid>

The ID of the segmentation job it belongs to