get https://api-v2.pandavideo.com/videos/
Retrieves all custom fields for a specific video
GET /videos/{video_id}?custom_fields
Retrieves all custom fields for a specific video.
Detailed Description
Retrieves all custom fields associated with a specific video, including their keys, values, and metadata. Custom fields allow you to store additional metadata for your videos with flexible key-value pairs.
HTTP Method & Path
GET /videos/{video_id}?custom_fields
Example:
GET /videos/123e4567-e89b-12d3-a456-426614174000?custom_fields
Authentication Requirements
- Security Scheme:
PandaAuth
(apiKey) - Header:
Authorization: <your_api_token>
(no Bearer prefix)
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
Authorization | header | string | Yes | Panda API token (without Bearer prefix) |
video_id | path | string (uuid) | Yes | Unique identifier for the video (e.g., 123e4567-e89b-12d3-a456-426614174000) |
custom_fields | query | string | Yes | Must be present to retrieve custom fields |
Response
Success Response (200)
Returns an array of custom field objects:
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"video_id": "d848feb5-b5a2-4e59-a125-23379b3692b5",
"key": "category",
"value": "Educational",
"created_at": "2023-01-15T10:30:00Z",
"updated_at": "2023-01-15T10:30:00Z"
}
]
Error Responses
- 401 Unauthorized: Invalid or missing API token
- 404 Not Found: Video not found
- 500 Internal Server Error: Server error
Example Usage
curl -X GET \
'https://api-v2-staging.pandavideo.com/videos/123e4567-e89b-12d3-a456-426614174000?custom_fields' \
-H 'Authorization: your_api_token_here' \
-H 'Accept: application/json'