Files
File Segments

List file segments

Changed on

List all segments for a specific file

get/files/{file_id}/segments

Request

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

Path parameters

file_idstring uuid required

The ID of the file

Query parameters

start_time_afternumber

Filter segments by start time

end_time_beforenumber

Filter segments by end time

min_durationnumber

Filter segments with duration greater than or equal to this value (in seconds)

max_durationnumber

Filter segments with duration less than or equal to this value (in seconds). Must be greater than or equal to min_duration when both are provided.

limitinteger

Number of segments to return

offsetinteger

Offset from the start of the list

Response

List of segments

object'list' required

Object type, always 'list'

totalinteger required

The total number of items

limitinteger required

The number of items per page

offsetinteger required

The offset of the items

Changes

    • info

      added the optional property to the response with the status

    • breaking

      for the query request parameter limit, default value 50 was removed

    • breaking

      for the query request parameter offset, default value 0 was removed