Update comment

Updates an existing comment. Allows changing the text and/or status of the comment.

Authentication

ParameterTypeDescription
link_idpathReview link identifier
comment_idpathComment identifier
tokenqueryUser 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

FieldDescription
textComment text (max 500 characters)
statusComment status: open or resolved
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

PUT /public-video-review/{link_id}/comments/{comment_id}

Updates a comment from the reviewer side. Allows changing the text and/or the status.

📘

Authentication: session token

To edit the text, you must pass the same token that created the comment. Status changes (resolved/open) can be performed by any reviewer holding a valid token, provided the link has allow_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

NameTypeRequiredDescription
link_idstring (uuid)yesReview link UUID.
comment_idstring (uuid)yesComment UUID.

Query Parameters

NameTypeRequiredDescription
tokenstring (uuid)yesReviewer session token.

Request Body

Content-Type: application/json

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

FieldTypeDescription
textstring (1–500)New text. Same disallowed‑chars rule as create.
statusstringopen | 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 wrong token when editing the text).
  • 403 — link expired/inactive or allow_status_edit: false while sending status.
  • 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" }'

Recipes

Path Params
uuid
required
uuid
required

Comment UUID

Query Params
uuid
required

User session token. To edit the text, use the same token used when creating the comment.

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
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json