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.