v2
latestOpenAPI 3.1.02026-08-013435189.7 KBplaylists
Publish a playlist
Publish the draft playlist as the new LIVE snapshot. Always async (ADR 0003): the resolver marks StreamState.processing_state as processing, signals PreparePlaylistWorkflow, and returns. Editor polls Playlist.publishStatus to observe the PREPARING -> IDLE / FAILED transition. Top-level errors carry extensions.code one of: STALE_DRAFT, EMPTY_PLAYLIST, BROKEN_ITEM, RECIPE_MISMATCH, NOT_LIVE, NOT_FOUND, INTERNAL.
post/playlists/{id}/publish
Path parameters
idstring required
Resource identifier.
Headers
Idempotency-Keystring
Optional client-generated key. A repeated request with the same key replays the original response (within 24h) instead of re-executing — safe retries.
Request body
Response
Successful response.