Panda Video Hls Segments API

The Hls Segments API from Panda Video — 2 operation(s) for hls segments.

GitHub OpenAPI

Operations 3

GET / Get HLS Segment Duration #
GET /{library_id} Get HLS Segment Duration by Library #
PUT /{library_id} Set HLS Segment Duration #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pandavideo-com:pandavideo-com-hls-segments-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

pandavideo-com-hls-segments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: hls-segments Hls Segments API
  version: '2.0'
servers:
- url: https://api-v2.pandavideo.com.br/library
security:
- sec0: []
tags:
- name: Hls Segments
paths:
  /:
    get:
      summary: Get HLS Segment Duration
      description: Returns the library configuration for the authenticated account. This page focuses only on the hls_segment_duration field (the other library fields are documented in the Library section).
      operationId: get-hls-segment-duration
      responses:
        '200':
          description: '200'
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      hls_segment_duration:
                        type: integer
                        minimum: 4
                        maximum: 15
                        default: 6
                        description: Duration of each HLS segment in seconds (4-15, default 6).
              examples:
                Result:
                  value: "{\n  \"data\": {\n    \"hls_segment_duration\": 6\n  }\n}"
      tags:
      - Hls Segments
  /{library_id}:
    get:
      summary: Get HLS Segment Duration by Library
      description: Returns the configuration of a specific library. This page focuses only on the hls_segment_duration field.
      operationId: get-hls-segment-duration-by-library
      parameters:
      - name: library_id
        in: path
        required: true
        description: Unique identifier of the library (UUID). Goes in the URL, not in the body.
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: '200'
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      hls_segment_duration:
                        type: integer
                        minimum: 4
                        maximum: 15
                        default: 6
                        description: Duration of each HLS segment in seconds (4-15, default 6).
              examples:
                Result:
                  value: "{\n  \"data\": {\n    \"hls_segment_duration\": 6\n  }\n}"
        '404':
          description: '404'
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
              examples:
                Result:
                  value: "{\n  \"error\": \"Library not found\"\n}"
      tags:
      - Hls Segments
    put:
      summary: Set HLS Segment Duration
      description: 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.
      operationId: set-hls-segment-duration
      parameters:
      - name: library_id
        in: path
        required: true
        description: Unique identifier of the library (UUID). Goes in the URL, not in the body.
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                hls_segment_duration:
                  type: integer
                  minimum: 4
                  maximum: 15
                  default: 6
                  description: Duration of each HLS segment in seconds. Integer 4-15, default 6. Applies to new uploads and reencodes only.
            examples:
              Result:
                value: "{\n  \"hls_segment_duration\": 10\n}"
      responses:
        '200':
          description: '200'
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      hls_segment_duration:
                        type: integer
                        minimum: 4
                        maximum: 15
                        default: 6
                        description: The updated HLS segment duration in seconds.
              examples:
                Result:
                  value: "{\n  \"data\": {\n    \"hls_segment_duration\": 10\n  }\n}"
        '400':
          description: '400'
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
              examples:
                Result:
                  value: "{\n  \"error\": \"Validation failed\"\n}"
      tags:
      - Hls Segments
components:
  securitySchemes:
    sec0:
      type: apiKey
      in: header
      name: Authorization
x-readme-fauxas: true
x-provenance:
  method: searched
  source: https://docs.pandavideo.com/reference
  harvested: '2026-11-20'
  tool: harvest-readme-openapi.py
  note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
  assembled_from:
  - https://docs.pandavideo.com/reference/get-hls-segment-duration-1.md
  - https://docs.pandavideo.com/reference/get-hls-segment-duration-by-library-1.md
  - https://docs.pandavideo.com/reference/set-hls-segment-duration-1.md
  merge:
    pages: 3
    deduped: 2
    conflicts_kept_first: 0