{ "lexicon": 1, "id": "place.stream.playback.getLiveToken", "defs": { "main": { "type": "query", "description": "Mint a short-lived playback token for the caller's own live stream, so their player can watch it over HLS before it is published (pre-live). HLS requests carry no session; the token, passed as `token` on getLivePlaylist and getLiveSegment, stands in for one. Requires an authenticated session; the token is bound to the caller's DID.", "output": { "encoding": "application/json", "schema": { "type": "object", "required": ["token", "expiresAt"], "properties": { "token": { "type": "string", "description": "Opaque token to pass as the `token` query parameter." }, "expiresAt": { "type": "string", "format": "datetime", "description": "When the token stops working; fetch a new one before then." } } } } } } }