Referencia apiLive streams
Lives Novo V2
POST
POST /v2/live-streams. Contrato do handler livesNovoV2. Requer autenticação e autorização no contexto da conta; permissões e suspensão podem impedir a operação.
bearerAuthheader
AutorizaçãoBearer <token>JWT de usuário/console ou API token, conforme a autorização e as permissões da conta. Não enviar tokens reais nos exemplos.
ignorar_ip?booleanuid?stringapplication/json- body
accountId?stringads?allowPublicAccess?booleandescription?stringdirectoryId?stringdirectoryLive2Vod?stringenableAudioOnly?booleanenableAutoStart?booleanenableAutoStop?booleanenableChat?booleanenableCut?booleanenableDvr?booleanenableLive2vod?booleanendingScreen?stringgaTag?stringgeoAccessControl?stringgeoRegionList?array<string>googleDAI?ipWhitelist?array<string>latencyPreference?stringmetadata?array<>outputQualities?array<string>pauseScreen?stringplayerColor?stringplayerCustomization?referrerWhitelist?array<string>robotCustomization?scheduledStartTime?stringFormato
date-timestartSoonScreen?stringstreamPull?booleanstreamPullSource?stringsubtitles?booleantags?array<string>tencentChatUserId?stringtencentChatUserSig?stringtencentGroupId?stringthumbnail?stringtitle?stringtype?stringOperação concluída.
application/json- response
actualEndTime?stringFormato
date-timeactualStartTime?stringFormato
date-timeads?allowPublicAccess?booleanassets?createdAt?stringFormato
date-timedescription?stringenableAutoStart?booleanenableChat?booleangaTag?stringgoogleDAI?isPaused?booleanliveId?stringoutputQualities?array<string>playerCustomization?rawSettings?robotCustomization?scheduledEndTime?stringFormato
date-timescheduledStartTime?stringFormato
date-timesecurity?status?stringstreamPull?booleansubtitles?booleantencentChatUserId?stringtencentChatUserSig?stringtitle?stringtranscode?type?stringupdatedAt?stringFormato
date-timewherebyMeetingId?stringwherebyRoomName?stringcurl -X POST "https://example.com/v2/live-streams" \ -H "Content-Type: application/json" \ -d '{ "accountId": "018f0000-0000-7000-8000-000000000001", "ads": { "googleIMA": [], "vast": [], "vmap": [] }, "allowPublicAccess": false, "description": "Exemplo sintético para documentação.", "directoryId": "0123456789abcdefghijklmnopq", "directoryLive2Vod": "", "enableAudioOnly": false, "enableAutoStart": false, "enableAutoStop": false, "enableChat": false, "enableCut": false, "enableDvr": false, "enableLive2vod": false, "endingScreen": "", "gaTag": "", "geoAccessControl": "", "geoRegionList": [], "googleDAI": { "apiKey": "0123456789abcdefghijklmnopq", "assetKey": "0123456789abcdefghijklmnopq", "contentSourceId": "https://media.example.com/exemplo", "enabled": false, "type": "", "videoId": "0123456789abcdefghijklmnopq" }, "ipWhitelist": [], "latencyPreference": "", "metadata": [], "outputQualities": [], "pauseScreen": "", "playerColor": "", "playerCustomization": { "backgroundColor": "", "colorTone": "", "iconTextColor": "", "playButtonLocation": false, "primaryColor": "", "showConfigurations": false, "showFullscreen": false, "showLike": false, "showSeekControls": false, "showSound": false, "showSpeed": false, "showStatistics": false, "showTitle": false }, "referrerWhitelist": [], "robotCustomization": { "assistantAction": [], "decreaseVolumeActions": [], "enableVolumeActions": [], "increaseVolumeActions": [], "interruptAssistantActions": [], "interruptionActions": [], "momentSearchActions": [], "muteVolumeActions": [], "playbackActions": [], "selectedImage": "https://media.example.com/exemplo", "videoAdvanceActions": [], "videoRewindActions": [], "voiceAssistant": false, "welcomePhrase": "" }, "scheduledStartTime": "2026-01-15T12:00:00Z", "startSoonScreen": "", "streamPull": false, "streamPullSource": "https://media.example.com/exemplo", "subtitles": false, "tags": [], "tencentChatUserId": "0123456789abcdef01234567", "tencentChatUserSig": "", "tencentGroupId": "0123456789abcdef01234567", "thumbnail": "https://media.example.com/exemplo", "title": "Exemplo sintético", "type": "" }'{ "actualEndTime": "2026-01-15T12:00:00Z", "actualStartTime": "2026-01-15T12:00:00Z", "ads": { "googleIMA": [], "vast": [], "vmap": [] }, "assets": { "chatIframe": "https://media.example.com/exemplo", "endingScreen": "", "hls": "https://media.example.com/exemplo", "iframe": "https://media.example.com/exemplo", "pauseScreen": "", "player": "https://media.example.com/exemplo", "playerColor": "", "startSoonScreen": "", "thumbnail": "https://media.example.com/exemplo", "wss": "" }, "createdAt": "2026-01-15T12:00:00Z", "description": "Exemplo sintético para documentação.", "enableAutoStart": false, "enableChat": false, "googleDAI": { "apiKey": "0123456789abcdefghijklmnopq", "assetKey": "0123456789abcdefghijklmnopq", "contentSourceId": "https://media.example.com/exemplo", "enabled": false, "type": "", "videoId": "0123456789abcdefghijklmnopq" }, "isPaused": false, "liveId": "0123456789abcdefghijklmnopq", "outputQualities": [], "playerCustomization": { "backgroundColor": "", "colorTone": "", "iconTextColor": "", "playButtonLocation": false, "primaryColor": "", "showConfigurations": false, "showFullscreen": false, "showLike": false, "showSeekControls": false, "showSound": false, "showSpeed": false, "showStatistics": false, "showTitle": false }, "rawSettings": { "streaming": { "geoAccessControl": "", "geoRegionList": [], "ipWhitelist": [], "referrerWhitelist": [], "streamingProfile": "" } }, "robotCustomization": { "assistantAction": [], "decreaseVolumeActions": [], "enableVolumeActions": [], "increaseVolumeActions": [], "interruptAssistantActions": [], "interruptionActions": [], "momentSearchActions": [], "muteVolumeActions": [], "playbackActions": [], "selectedImage": "https://media.example.com/exemplo", "videoAdvanceActions": [], "videoRewindActions": [], "voiceAssistant": false, "welcomePhrase": "" }, "scheduledEndTime": "2026-01-15T12:00:00Z", "scheduledStartTime": "2026-01-15T12:00:00Z", "security": { "geoAccessControl": "", "geoRegionList": [], "ipWhitelist": [], "referrerWhitelist": [] }, "status": "", "streamPull": false, "subtitles": false, "tencentChatUserId": "0123456789abcdef01234567", "tencentChatUserSig": "", "title": "Exemplo sintético", "transcode": { "enableAudioOnly": false, "enableCut": false, "enableDvr": false, "enableLive2vod": false, "endpoints": [], "latencyPreference": "", "status": [] }, "type": "", "updatedAt": "2026-01-15T12:00:00Z", "wherebyMeetingId": "0123456789abcdef01234567", "wherebyRoomName": "Exemplo sintético"}Lives Listar V2 GET
GET /v2/live-streams. Contrato do handler livesListarV2. Requer autenticação e autorização no contexto da conta; permissões e suspensão podem impedir a operação.
Lives Buscar V2 GET
GET /v2/live-streams/{key}. Contrato do handler livesBuscarV2. Requer autenticação e autorização no contexto da conta; permissões e suspensão podem impedir a operação.