Get block download status

Returns the current library-wide anti-download flag for the authenticated user's library.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

GET /block_download

Returns the current library-wide anti-download flag for the authenticated user's library.

📘

Authorization

Requires a valid API token in the Authorization header (without Bearer prefix). The library is resolved automatically by the token's user_id.

HTTP Method & Path

GET /block_download

Base URL: https://api-v2.pandavideo.com.br

Authentication Requirements

HeaderValue
AuthorizationYour Panda API token (no Bearer prefix)

Response

Success Response (200)

{ "status": true }

Possible values:

statusMeaning
trueAnti-download is enabled for the library — player serves HLS only
falseAnti-download is disabled
nullLibrarySettings does not exist for this library yet (very new account)
📘

null is not an error — it indicates a new library that has never had its settings persisted.

Error Responses

StatusWhen
404Library with user id: USER_ID was not found
500Internal error

Example Usage

cURL

curl -H "Authorization: $PANDA_API_TOKEN" \
  https://api-v2.pandavideo.com.br/block_download

Related

  • Update the flag: PUT /block_download
  • Per-video offline / anti-download configuration: configure-video-offline
Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json