2024-10-10
▼ ▲ drive.files.accessproposals.resolve
Path: files/{fileId}/accessproposals/{proposalId}:resolve
Flat Path: files/{fileId}/accessproposals/{proposalId}:resolve
HTTP Method: POST
Parameters:
fileId
Description: Required. The id of the item the request is on.
Location: path
Required: Yes
Type: string
proposalId
Description: Required. The id of the access proposal to resolve.
Location: path
Required: Yes
Type: string
role
Description: Optional. The roles the approver has allowed, if any.
Location: query
Repeated: Yes
Type: string
view
Description: Optional. Indicates the view for this access proposal. This should only be set when the proposal belongs to a view. `published` is the only supported value.
Location: query
Type: string
action
Description: Required. The action to take on the AccessProposal.
Location: query
Type: string
Enum Descriptions:
Enum:
sendNotification
Description: Optional. Whether to send an email to the requester when the AccessProposal is denied or accepted.
Location: query
Type: boolean
Parameter Order:
Scopes:
Description: Used to approve or deny an Access Proposal.
▼ ▲ drive.files.accessproposals.list
Path: files/{fileId}/accessproposals
Flat Path: files/{fileId}/accessproposals
HTTP Method: GET
Parameters:
fileId
Description: Required. The id of the item the request is on.
Location: path
Required: Yes
Type: string
pageToken
Description: Optional. The continuation token on the list of access requests.
Location: query
Type: string
pageSize
Description: Optional. The number of results per page
Location: query
Type: integer
Format: int32
Parameter Order: fileId
Scopes:
Description: 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.