- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
List the AccessProposals on a file. Note: Only approvers are able to list AccessProposals on a file. If the user is not an approver, returns a 403.
HTTP request
GET https://www.googleapis.com/drive/v3/files/{fileId}/accessproposals
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
file |
Required. The id of the item the request is on. |
Query parameters
Parameters | |
---|---|
page |
Optional. The continuation token on the list of access requests. |
page |
Optional. The number of results per page |
Request body
The request body must be empty.
Response body
The response to an Access Proposal list request.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"accessProposals": [
{
object ( |
Fields | |
---|---|
access |
The list of Access Proposals. This field is only populated in v3 and v3beta. |
next |
The continuation token for the next page of results. This will be absent if the end of the results 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/docs
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/drive.file
https://www.googleapis.com/auth/drive.metadata
https://www.googleapis.com/auth/drive.metadata.readonly
https://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.