- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists the Approvals on a file.
HTTP request
GET https://www.googleapis.com/drive/v3/files/{fileId}/approvals
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
fileId |
Required. The ID of the file the Approval is on. |
Query parameters
| Parameters | |
|---|---|
pageSize |
The maximum number of Approvals to return. When not set, at most 100 Approvals will be returned. |
pageToken |
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. |
Request body
The request body must be empty.
Response body
The response of an Approvals list request.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"kind": string,
"items": [
{
object ( |
| Fields | |
|---|---|
kind |
This is always drive#approvalList |
items[] |
The list of Approvals. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched. |
nextPageToken |
The page token for the next page of Approvals. This will be absent if the end of the Approvals list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/drivehttps://www.googleapis.com/auth/drive.appdatahttps://www.googleapis.com/auth/drive.filehttps://www.googleapis.com/auth/drive.metadatahttps://www.googleapis.com/auth/drive.metadata.readonlyhttps://www.googleapis.com/auth/drive.readonly
Some scopes are restricted and require a security assessment for your app to use them. For more information, see the Authorization guide.