drive.approvals.get
Retrieve a Drive approval by file and approval ID to inspect its status and details. Use it when you need the current approval record before deciding next steps.
Instructions
Gets an approval by ID. For more information, see Manage approvals [HTTP GET]. Returns the requested resource as JSON — request bodies are built from the typed parameters (typed flags win over the params map), or read whole from body_file Siblings over the same resource: approve, cancel, comment, decline, list, reassign, start.
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 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. | |
| approvalId | Yes | [URL path segment] Required. The ID of the approval. |
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 |