put
https://api-v2.pandavideo.com.br/video-review//
Updates the settings of an existing review link.
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=link to identify the operation.
PUT /video-review/{video_id}/{link_id}?action=link
Behavior
- Only partial updates are allowed (send only the fields you want to change)
- Expired links cannot be updated
- Extending
expires_atcan reactivate an expired link
Updatable Fields
| Field | Type | Description |
|---|---|---|
link_name | string | Link identifier name |
expires_at | number | New expiration date (Unix timestamp in ms) |
allow_comment | boolean | Enable/disable comments |
allow_status_edit | boolean | Enable/disable status editing |
show_resolved | boolean | Show/hide resolved comments |
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
PUT /video-review/{video_id}/{link_id}
{video_id}/{link_id}Updates an existing review link.
AuthorizationRequires a valid API Key in the
Authorizationheader. Send the key directly — noBearerprefix.
?action=linkis requiredWithout
?action=linkthe request returns 404 Route not found.
HTTP Method & Path
PUT /video-review/{video_id}/{link_id}?action=link
Base URL: https://api-v2.pandavideo.com.br
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
video_id | string (uuid) | yes | Video UUID. |
link_id | string (uuid) | yes | Review link UUID. |
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
action | string | yes | Must be link. |
Request Body
Content-Type: application/json
Partial update — send only the fields you want to change. All fields are optional.
| Field | Type | Description |
|---|---|---|
link_name | string (1–255) | New display name. Same [a-zA-Z0-9 \-_.]+ pattern as create. |
expires_at | number (ms since epoch) | New expiration (still bound to 30‑day limit from "now"). Extending an expired‑in‑Redis link does not automatically revive it — see Errors. |
allow_comment | boolean | Enable/disable new comments. |
allow_status_edit | boolean | Enable/disable reviewer‑side status changes. |
show_resolved | boolean | Show/hide resolved comments. |
{
"link_name": "Client Review v2",
"expires_at": 1738454399000,
"allow_comment": false
}Response
Success Response (200)
Returns the updated link object (same shape as Create).
Error Responses
- 400 — invalid body /
link_namepattern /expires_atmore than 30 days; also returned when the stored linkstatusis alreadyexpired("Link is expired!"). - 401 — missing/invalid API Key.
- 404 — user, video or review link 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/550e8400-e29b-41d4-a716-446655440000?action=link' \
--header 'Authorization: <your-api-key>' \
--header 'Content-Type: application/json' \
--data '{ "allow_comment": false }'