get
https://api-v2.pandavideo.com.br/library/?action=refer_all
Consolidated view of every referrer of the library, grouped by hostname, including the folders each one applies to.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
GET /library/{library_id}?action=refer_all
{library_id}?action=refer_allConsolidated view of every domain of the library — library-level and folder-level — grouped by hostname. Useful to audit the whole configuration in a single call.
action=refer_allis requiredWithout the
actionquery parameter this path returns the library details instead.
AuthorizationRequires a valid API token in the
Authorizationheader (withoutBearerprefix). Thelibrary_idmust belong to the authenticated user.
HTTP Method & Path
GET /library/{library_id}?action=refer_all
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 |
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
action | string | yes | Fixed value: refer_all |
Response
Success Response (200)
{
"refers": [
{
"hostname": "mysite.com",
"type": "ALLOW",
"status": "active",
"scope": "library",
"library_refer_id": "91478577-f4f1-484f-8dab-69a1afb39095",
"folders": [],
"type_inconsistency": false,
"created_at": "2026-08-05T02:46:36.000Z"
},
{
"hostname": "course.mysite.com",
"type": "ALLOW",
"status": "mixed",
"scope": "folder",
"library_refer_id": null,
"folders": [
{
"folder_id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Module 1",
"refer_id": "789e4567-e89b-12d3-a456-426614174999",
"status": "pending"
}
],
"type_inconsistency": false,
"created_at": "2026-08-05T02:31:36.000Z"
}
]
}Response Schema
| Field | Type | Description |
|---|---|---|
refers | object[] | One entry per hostname (not per row) |
refers[].hostname | string | The domain |
refers[].type | string | ALLOW or BLOCK |
refers[].status | string | Consolidated status. mixed when the same domain is in different states across folders |
refers[].scope | string | library or folder |
refers[].library_refer_id | string (uuid) | null | Referrer ID when the domain is library-level; null when it only exists on folders |
refers[].folders | object[] | Folders where the domain applies — each { folder_id, name, refer_id, status } |
refers[].type_inconsistency | boolean | true when the same hostname is registered with different type values |
refers[].created_at | string | ISO 8601 timestamp |
Important
- Results are grouped by hostname, so one entry may cover several rows across folders. Use
folders[].refer_idto act on a specific row.status: "mixed"is not a persisted state — it means the underlying rows disagree.- This view calls the scope
scope, while the folder endpoints call the same informationorigin.
Error Responses
| Status | When |
|---|---|
400 | Missing or unknown action |
500 | Internal error |
Example Usage
cURL
curl -X GET \
"https://api-v2.pandavideo.com.br/library/{library_id}?action=refer_all" \
-H "Authorization: $PANDA_API_TOKEN"Related
- Library-level list:
GET /library/{library_id}?action=refer - Folder-level list:
GET /library/{library_id}?action=folder_refer
