List comments

Returns all comments for a video with pagination and filter support.

Authentication

This endpoint requires authentication via API Key in the Authorization header.

Authorization: <your-api-key>

Action Parameter

This endpoint uses the query parameter action=comment to identify the operation.

GET /video-review/{video_id}?action=comment

Behavior

  • Returns main comments with their nested replies in the replies field
  • Supports pagination via page and limit
  • Allows filtering by status (open/resolved)
  • Includes user information (avatar, user_id) when available
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

GET /video-review/{video_id}/comments

Lists comments on a video from the owner side, with pagination and replies nested.

📘

Authorization

Requires a valid API Key in the Authorization header. Send the key directly — no Bearer prefix.

🚧

?action=comment is required

The Private API dispatches by the action query parameter. Calling without ?action=comment returns 404 Route not found.

The gateway uses the video_id from the path and ignores any trailing segment (so /video-review/{video_id} and /video-review/{video_id}/comments are equivalent for GET as long as ?action=comment is set). The canonical form used by the dashboard is GET /video-review/{video_id}?action=comment.

HTTP Method & Path

GET /video-review/{video_id}/comments?action=comment

Base URL: https://api-v2.pandavideo.com.br

Path Parameters

NameTypeRequiredDescription
video_idstring (uuid)yesVideo UUID.

Query Parameters

NameTypeRequiredDescription
actionstringyesMust be comment.
pagestringnoPage number (digits only, 01000000). Default 1.
limitstringnoItems per page (1100). Default 10.
statusstringnoopen or resolved.

Response

Success Response (200)

Same paginated shape as the public list:

{
  "data": [
    {
      "id": "b2c3d4e5-f6a7-8901-bcde-f23456789012",
      "video_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "user_id": "1b4f677f-4f6e-459d-84e0-7c304d3dbf48",
      "user_name": "John Smith",
      "text": "Lighting needs work here.",
      "status": "open",
      "time": 330,
      "reply_to": null,
      "avatar": "https://cdn.pandavideo.com.br/avatars/user123.jpg",
      "created_at": "2025-01-15T10:30:00.000Z",
      "updated_at": "2025-01-15T10:30:00.000Z",
      "replies": []
    }
  ],
  "hasNextPage": false,
  "totalPages": 1,
  "page": 1,
  "limit": 10,
  "totalItens": 1
}

Response Schema

Same as List comments (public). The private response additionally exposes user_id and avatar when available.

Error Responses

  • 400 — invalid page/limit/status value.
  • 401 — missing/invalid API Key.
  • 404 — user or video not found.
  • 500 — internal error.

Example Usage

cURL

curl --request GET \
  --url 'https://api-v2.pandavideo.com.br/video-review/a1b2c3d4-e5f6-7890-abcd-ef1234567890?action=comment&page=1&limit=10' \
  --header 'Authorization: <your-api-key>'

Recipes

Path Params
uuid
required

Video UUID

Query Params
string
enum
required

Action type (must be "comment" for this operation)

Allowed:
string
^(0|[1-9][0-9]{0,5}|1000000)$

Page number (default 1)

string
^([1-9]|[1-9][0-9]|100)$

Items per page (1-100, default 10)

string
enum

Filter by comment status

Allowed:
Responses

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