Panda Video Block Download API

# Block Download Controls the **library-wide anti-download** flag. When enabled, the player serves video exclusively via HLS streaming and does not expose downloadable assets to end-users. > 📘 **Scope** > > This setting applies to **every video** in the library. It is persisted as `LibrarySettings.block_download`. > For per-video anti-download configuration, see the page `configure-video-offline`. ## Endpoints in this section | Method | Path | Page | |---|---|---| | GET | `/block_download` | Get block download status | | PUT | `/block_download` | Update block download status | ## Behavior - `GET` returns `{ status: true | false | null }`. `null` indicates the library has no `LibrarySettings` row yet (very new library). - `PUT` accepts `{ status: boolean }`. **Non-boolean values are silently dropped** — the request still returns `200` echoing the value you sent, but nothing is persisted. Always send a boolean. - Mutations invalidate the `getLibraryById_{library_id}` memcache key and queue an audit log under the `security` category.

GitHub OpenAPI

Operations 2

GET /block_download Get block download status #
PUT /block_download Update block download status #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pandavideo-com:pandavideo-com-block-download-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

pandavideo-com-block-download-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Panda MS Library Block Download API
  description: 'API for managing video libraries in the Panda platform.


    This API allows you to:

    - Get and update video library settings

    - Configure encoding and playback qualities

    - Manage domain restrictions (referrer management)

    - Configure download blocking settings

    - Manage library-level security and configuration'
  version: 1.0.0
  contact:
    name: Panda Team
    email: support@panda.video
servers:
- url: https://api-v2.pandavideo.com
  description: Production server
- url: https://api-v2-staging.pandavideo.com
  description: Staging server
- url: http://localhost:10000
  description: Local development server
tags:
- name: Block Download
  description: '# Block Download


    Controls the **library-wide anti-download** flag. When enabled, the player serves video exclusively via HLS streaming and does not expose downloadable assets to end-users.


    > 📘 **Scope**

    >

    > This setting applies to **every video** in the library. It is persisted as `LibrarySettings.block_download`.

    > For per-video anti-download configuration, see the page `configure-video-offline`.


    ## Endpoints in this section


    | Method | Path | Page |

    |---|---|---|

    | GET | `/block_download` | Get block download status |

    | PUT | `/block_download` | Update block download status |


    ## Behavior


    - `GET` returns `{ status: true | false | null }`. `null` indicates the library has no `LibrarySettings` row yet (very new library).

    - `PUT` accepts `{ status: boolean }`. **Non-boolean values are silently dropped** — the request still returns `200` echoing the value you sent, but nothing is persisted. Always send a boolean.

    - Mutations invalidate the `getLibraryById_{library_id}` memcache key and queue an audit log under the `security` category.'
paths:
  /block_download:
    get:
      summary: Get block download status
      description: Returns the current library-wide anti-download flag for the authenticated user's library.
      tags:
      - Block Download
      security:
      - PandaAuth: []
      responses:
        '200':
          description: Block download status retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type:
                    - boolean
                    - 'null'
                    description: Whether download blocking is enabled
                    example: true
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '404':
          $ref: '#/components/responses/NotFoundError'
        '500':
          $ref: '#/components/responses/InternalServerError'
      operationId: getBlockDownload
      x-operation-id-source: derived
    put:
      summary: Update block download status
      description: Enables or disables the library-wide anti-download flag.
      tags:
      - Block Download
      security:
      - PandaAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - status
              properties:
                status:
                  type: boolean
                  description: Enable or disable download blocking
                  example: true
      responses:
        '200':
          description: Block download status updated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: boolean
                    example: true
        '400':
          $ref: '#/components/responses/BadRequestError'
        '404':
          $ref: '#/components/responses/NotFoundError'
      operationId: putBlockDownload
      x-operation-id-source: derived
components:
  responses:
    BadRequestError:
      description: Bad request - Invalid input parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            errCode: BadRequest
            errMsg: 'must be equal to one of the allowed values: ALLOW,BLOCK.'
    NotFoundError:
      description: Not found - Resource does not exist
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            errCode: NotFound
            errMsg: Library not found
    InternalServerError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            errCode: InternalServerError
            errMsg: Error retrieving library information
    UnauthorizedError:
      description: Unauthorized - Invalid or missing authentication (returned by the API Gateway authorizer, not by the service)
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                example: Unauthorized
  schemas:
    ErrorResponse:
      type: object
      description: Standard error envelope returned by the service for any non-2xx response.
      properties:
        errCode:
          type: string
          description: Error category
          enum:
          - BadRequest
          - NotFound
          - Forbidden
          - MethodNotAllowed
          - InternalServerError
          example: BadRequest
        errMsg:
          type: string
          description: Human-readable error message
          example: Refer already exists
  securitySchemes:
    PandaAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Panda API token (without Bearer prefix)
x-provenance:
  method: searched
  source: https://docs.pandavideo.com/reference
  harvested: '2026-11-20'
  tool: harvest-readme-openapi.py
  note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
  assembled_from:
  - https://docs.pandavideo.com/reference/edit-allowed-domains.md
  - https://docs.pandavideo.com/reference/get-allowed-referer-1.md
  - https://docs.pandavideo.com/reference/get-user-library-1.md
  - https://docs.pandavideo.com/reference/get_block-download.md
  - https://docs.pandavideo.com/reference/patch_library-library-id.md
  - https://docs.pandavideo.com/reference/post_library-library-id.md
  - https://docs.pandavideo.com/reference/put_block-download.md
  - https://docs.pandavideo.com/reference/quality-1.md
  - https://docs.pandavideo.com/reference/remove-referer-1.md
  merge:
    pages: 9
    deduped: 36
    conflicts_kept_first: 0