get
https://api-v2.pandavideo.com.br/library//hls-encryption
Returns whether new uploads in this library are encrypted.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
GET /library/{library_id}/hls-encryption
{library_id}/hls-encryptionReturns whether new uploads in this library are encrypted.
AuthorizationRequires a valid API token in the
Authorizationheader (withoutBearerprefix). Thelibrary_idmust belong to the authenticated user.
HTTP Method & Path
GET /library/{library_id}/hls-encryption
Base URL: https://api-v2.pandavideo.com.br
Authentication Requirements
| Header | Value |
|---|---|
Authorization | Your Panda API token (no Bearer prefix) |
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
library_id | string (uuid) | yes | Library ID owned by the authenticated user |
Response
Success Response (200)
{ "status": true }| Field | Type | Description |
|---|---|---|
status | boolean | true when new uploads in this library are encrypted |
This flag says nothing about existing videos
status: truemeans new uploads are encrypted. Videos uploaded before it was enabled stay unencrypted until they are reprocessed — see Video Reprocessing. To see which videos are actually encrypted, list them withGET /videos/hls_encrypted.
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 |
500 | Internal error |
Example Usage
cURL
curl -X GET \
"https://api-v2.pandavideo.com.br/library/{library_id}/hls-encryption" \
-H "Authorization: $PANDA_API_TOKEN"Related
- Change the setting:
PUT /library/{library_id}/hls-encryption - Apply encryption to existing videos: Video Reprocessing
