Update comment

Updates an existing comment. Allows changing text, status or timestamp.

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.

PUT /video-review/{video_id}/{comment_id}?action=comment

Updatable Fields

FieldTypeDescription
textstringComment text (max 500 characters)
statusstringStatus: open or resolved
timeintegerVideo timestamp in seconds
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

PUT /video-review/{video_id}/{comment_id}

Updates a comment from the owner side. Allows changing the text, status and timestamp.

📘

Authorization

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

🚧

Use the canonical path — no /comments/ in the middle

The Private API extracts [video_id, id] positionally from the path. The canonical form used by the dashboard is PUT /video-review/{video_id}/{comment_id}?action=comment.

Sending PUT /video-review/{video_id}/comments/{comment_id} is incorrect — the gateway would treat the literal "comments" as the comment id and fail silently. Always use /video-review/{video_id}/{comment_id} directly with ?action=comment.

HTTP Method & Path

PUT /video-review/{video_id}/{comment_id}?action=comment

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

Path Parameters

NameTypeRequiredDescription
video_idstring (uuid)yesVideo UUID.
comment_idstring (uuid)yesComment UUID.

Query Parameters

NameTypeRequiredDescription
actionstringyesMust be comment.

Request Body

Content-Type: application/json

Partial update — send only the fields you want to change.

FieldTypeDescription
textstring (1–500)New text.
statusstringopen | resolved. Setting the same status the comment already has returns 400 "Status is already set to this value".
timeinteger (≥ 0)New timestamp in seconds (must be video duration).
{ "text": "Updated note about the audio." }
{ "status": "resolved" }
{ "time": 360 }

Response

Success Response (200)

Returns the updated comment (same shape as list/create).

Error Responses

  • 400 — invalid body, time greater than video duration, or status already set to the same value.
  • 401 — missing/invalid API Key.
  • 404 — user, video or comment not found.
  • 500 — internal error.

Example Usage

cURL

curl --request PUT \
  --url 'https://api-v2.pandavideo.com.br/video-review/a1b2c3d4-e5f6-7890-abcd-ef1234567890/b2c3d4e5-f6a7-8901-bcde-f23456789012?action=comment' \
  --header 'Authorization: <your-api-key>' \
  --header 'Content-Type: application/json' \
  --data '{ "status": "resolved" }'

Recipes

Path Params
uuid
required

Video UUID

uuid
required

Comment UUID

Query Params
string
enum
required

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

Allowed:
Body Params
string
length between 1 and 500
^[^<>{}\[\]]*$

New comment text.

string
enum

Comment status:

  • open: Comment open, pending resolution
  • resolved: Comment resolved/addressed
Allowed:
integer
≥ 0

New video timestamp in seconds.

Responses

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