v1

latestOpenAPI 3.1.02026-07-2416666272.6 KB

Set HLS Segment Duration

Updates the HLS segment duration of a specific library. Send only the hls_segment_duration field in the body; the library_id goes in the URL.

put/{library_id}

Path parameters

library_idstring uuid required

Unique identifier of the library (UUID). Goes in the URL, not in the body.

Request body

hls_segment_durationinteger

Duration of each HLS segment in seconds. Integer 4-15, default 6. Applies to new uploads and reencodes only.

Response

200