Docs
Add File Review
POST /file-versions/{versionId}/reviews
POST
/file-versions/{versionId}/reviewsSubmits or replaces the caller's decision on a file version's review run (runId from Drives_GetFileVersion or Drives_GetFile): Approved, Changes Requested (needs a comment, saved on the version) or No Response (withdraws it). The caller must be a reviewer of the run's active stage; onBehalf approves or rejects the whole stage as an override and needs Task.Manage at the file's scope (its event, or the organization for the organization drive). Requires Participate on the file. A run that ended or belongs to another version answers 400, as does a deliverable bound to a tracked file attribute.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| versionId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| runId | uuid | Optional | |
| response | string | Optional | |
| comment | string | Optional | |
| onBehalf | boolean | Optional |