List all referrers (consolidated)

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
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

GET /library/{library_id}?action=refer_all

Consolidated 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_all is required

Without the action query parameter this path returns the library details instead.

📘

Authorization

Requires a valid API token in the Authorization header (without Bearer prefix). The library_id must 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

HeaderValue
AuthorizationYour Panda API token (no Bearer prefix)

Path Parameters

NameTypeRequiredDescription
library_idstring (uuid)yesLibrary ID owned by the authenticated user

Query Parameters

NameTypeRequiredDescription
actionstringyesFixed 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

FieldTypeDescription
refersobject[]One entry per hostname (not per row)
refers[].hostnamestringThe domain
refers[].typestringALLOW or BLOCK
refers[].statusstringConsolidated status. mixed when the same domain is in different states across folders
refers[].scopestringlibrary or folder
refers[].library_refer_idstring (uuid) | nullReferrer ID when the domain is library-level; null when it only exists on folders
refers[].foldersobject[]Folders where the domain applies — each { folder_id, name, refer_id, status }
refers[].type_inconsistencybooleantrue when the same hostname is registered with different type values
refers[].created_atstringISO 8601 timestamp
⚠️

Important

  • Results are grouped by hostname, so one entry may cover several rows across folders. Use folders[].refer_id to 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 information origin.

Error Responses

StatusWhen
400Missing or unknown action
500Internal 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
Path Params
uuid
required

Library ID owned by the authenticated user

Response

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