Updates an existing comment. Allows changing the text and/or status of the comment.
Authentication
| Parameter | Type | Description |
|---|---|---|
link_id | path | Review link identifier |
comment_id | path | Comment identifier |
token | query | User session token |
To edit the comment text, use the same token used during creation. Any user can change the status to resolved. The token can be the same value as link_id or a unique identifier generated by the application.
Example: 550e8400-e29b-41d4-a716-446655440000
Behavior
- Only partial updates are allowed (send only the fields you want to change)
- To change the status, the link must have
allow_status_edit: true - The link must be active and not expired
Updatable Fields
| Field | Description |
|---|---|
text | Comment text (max 500 characters) |
status | Comment status: open or resolved |
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
PUT /public-video-review/{link_id}/comments/{comment_id}
{link_id}/comments/{comment_id}Updates a comment from the reviewer side. Allows changing the text and/or the status.
Authentication: session tokenTo edit the text, you must pass the same
tokenthat created the comment. Status changes (resolved/open) can be performed by any reviewer holding a valid token, provided the link hasallow_status_edit: true.
HTTP Method & Path
PUT /public-video-review/{link_id}/comments/{comment_id}?token=<uuid>
Base URL: https://api-v2.pandavideo.com.br
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
link_id | string (uuid) | yes | Review link UUID. |
comment_id | string (uuid) | yes | Comment UUID. |
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
token | string (uuid) | yes | Reviewer session token. |
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. Same disallowed‑chars rule as create. |
status | string | open | resolved. |
{ "text": "Updated comment text" }{ "status": "resolved" }Response
Success Response (200)
Returns the updated comment (same shape as Create).
Error Responses
- 400 — invalid body.
- 401 — missing/invalid
token(or wrongtokenwhen editing the text). - 403 — link expired/inactive or
allow_status_edit: falsewhile sendingstatus. - 404 — comment not found.
- 500 — internal error.
Example Usage
cURL
curl --request PUT \
--url 'https://api-v2.pandavideo.com.br/public-video-review/550e8400-e29b-41d4-a716-446655440000/comments/b2c3d4e5-f6a7-8901-bcde-f23456789012?token=550e8400-e29b-41d4-a716-446655440000' \
--header 'Content-Type: application/json' \
--data '{ "status": "resolved" }'