Returns whether strict playback origin checking is enabled for the library.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
GET /panda_only_playback/
Returns whether strict playback origin checking is enabled for the library of the authenticated user.
What this mode doesWhen enabled, the stream can only be played through the Panda player, which sends the required origin/referer credentials. Requests that hit the
.m3u8URL directly, outside the player, are refused. The official embed keeps working normally — in browsers and in in-app WebViews alike.
AuthorizationRequires a valid API token in the
Authorizationheader (withoutBearerprefix). The library is resolved from the token — there is nolibrary_idin the path.
HTTP Method & Path
GET /panda_only_playback/
Base URL: https://api-v2.pandavideo.com.br
Note the trailing slash and the missing library IDThis endpoint (like
/block_download/) takes nolibrary_id— the library comes from the token. The HLS encryption switch, in contrast, does take the ID in the URL. This inconsistency is real in the API.
Authentication Requirements
| Header | Value |
|---|---|
Authorization | Your Panda API token (no Bearer prefix) |
Response
Success Response (200)
{ "status": true }| Field | Type | Description |
|---|---|---|
status | boolean | true when strict playback origin checking is enabled |
Not part ofGET /libraryThis setting is not returned by
GET /library— it only exists on this endpoint.
Error Responses
| Status | When |
|---|---|
404 | Library not found for the token's user |
500 | Internal error |
Example Usage
cURL
curl -X GET "https://api-v2.pandavideo.com.br/panda_only_playback/" \
-H "Authorization: $PANDA_API_TOKEN"Related
- Change the setting:
PUT /panda_only_playback/ - Required prerequisite: Get block download status
