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
| Field | Type | Description |
|---|---|---|
text | string | Comment text (max 500 characters) |
status | string | Status: open or resolved |
time | integer | Video timestamp in seconds |
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
PUT /video-review/{video_id}/{comment_id}
{video_id}/{comment_id}Updates a comment from the owner side. Allows changing the text, status and timestamp.
AuthorizationRequires a valid API Key in the
Authorizationheader. Send the key directly — noBearerprefix.
Use the canonical path — no/comments/in the middleThe Private API extracts
[video_id, id]positionally from the path. The canonical form used by the dashboard isPUT /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
| Name | Type | Required | Description |
|---|---|---|---|
video_id | string (uuid) | yes | Video UUID. |
comment_id | string (uuid) | yes | Comment UUID. |
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
action | string | yes | Must be comment. |
Request Body
Content-Type: application/json
Partial update — send only the fields you want to change.
| Field | Type | Description |
|---|---|---|
text | string (1–500) | New text. |
status | string | open | resolved. Setting the same status the comment already has returns 400 "Status is already set to this value". |
time | integer (≥ 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,
timegreater than video duration, orstatusalready 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" }'