drive.approvals.start
Start an approval on a Google Drive file to request reviewer sign-off before content changes, optionally locking the file and setting a due date.
Instructions
Starts an approval on a file. For more information, see Manage approvals [HTTP POST] — creates or triggers a change; refused under --readonly safety profiles. Returns the API's response resource as JSON — request body is a JSON StartApprovalRequest object accepting dueTime, fileContentChangeBehavior, lockFile, message, reviewerEmails; pass it via params or whole via body_file Siblings over the same resource: approve, cancel, comment, decline, get, list, reassign.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Extra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe. | |
| fileId | Yes | [URL path segment] Required. The ID of the file that the approval is created on. | |
| params | No | Parameter map merged into the request; typed parameters win. | |
| dry_run | No | Return the request that would be sent, without sending it. | |
| body_file | No | Read the request body from this file ('-' for stdin) instead of building one from the parameters. The body is a JSON StartApprovalRequest object. | |
| request_body | No | Request body of type StartApprovalRequest: pass it via `params` (merged into the built body) or whole via `body_file`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| status | No | ||
| dueTime | No | ||
| initiator | No | ||
| approvalId | No | ||
| createTime | No | ||
| modifyTime | No | ||
| completeTime | No | ||
| targetFileId | No | ||
| reviewerResponses | No | ||
| fileContentChangeBehavior | No |