drive.approvals.list
Lists approvals on a Google Drive file. Specify fields to retrieve approval details, since default responses may omit the items array.
Instructions
Lists the approvals on a file. For more information, see Manage approvals. By default, this method returns a minimal response that may not include the items array. To retrieve approval details, you must explicitly specify the fields you want using the fields query parameter. To return the exact fields you need, see Return specific fields [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, get, 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. | |
| pageSize | No | [query parameter] The maximum number of approvals to return. When not set, at most 100 approvals are returned. | |
| body_file | No | Read the request body from this file ('-' for stdin) instead of building one from the parameters. | |
| pageToken | No | [query parameter] The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from a previous response. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| items | No | ||
| nextPageToken | No |