get
https://api-v2.pandavideo.com/block_download
Returns the current library-wide anti-download flag for the authenticated user's library.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
GET /block_download
Returns the current library-wide anti-download flag for the authenticated user's library.
AuthorizationRequires a valid API token in the
Authorizationheader (withoutBearerprefix). The library is resolved automatically by the token'suser_id.
HTTP Method & Path
GET /block_download
Base URL: https://api-v2.pandavideo.com.br
Authentication Requirements
| Header | Value |
|---|---|
Authorization | Your Panda API token (no Bearer prefix) |
Response
Success Response (200)
{ "status": true }Possible values:
status | Meaning |
|---|---|
true | Anti-download is enabled for the library — player serves HLS only |
false | Anti-download is disabled |
null | LibrarySettings does not exist for this library yet (very new account) |
nullis not an error — it indicates a new library that has never had its settings persisted.
Error Responses
| Status | When |
|---|---|
404 | Library with user id: USER_ID was not found |
500 | Internal error |
Example Usage
cURL
curl -H "Authorization: $PANDA_API_TOKEN" \
https://api-v2.pandavideo.com.br/block_downloadRelated
- Update the flag:
PUT /block_download - Per-video offline / anti-download configuration:
configure-video-offline
