API Reference

Add videos to playlist

Adds one or more videos to a playlist

POST /playlist/{playlist_id}/videos

Detailed Description

Adds one or more videos to a playlist. The request accepts an array, allowing batch additions and optional positioning via order.

HTTP Method & Path

POST /playlist/{playlist_id}/videos

Authentication Requirements

  • Security Scheme: PandaAuth (apiKey)
  • Header: Authorization: <your_api_token> (no Bearer prefix)

Parameters

NameTypeRequiredDescription
Authorizationstring (header)YesPanda API token (without Bearer prefix)
playlist_idstring (path, uuid)YesTarget playlist identifier.

Request Body

Array of AddVideoRequest items.

Schema: AddVideoRequest

NameTypeRequiredDescription
video_idstring (uuid)YesVideo identifier to add.
orderintegerNoZero-based position within the playlist. minimum=0.

Example Request Body

[
  { "video_id": "987f6543-e21b-12d3-a456-426614174000", "order": 0 },
  { "video_id": "123f6543-e21b-12d3-a456-426614174111", "order": 1 }
]

Notes

  • If order is omitted, the service’s default insertion logic applies (e.g., append). (No description provided in Swagger)
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!