drive.permissions.list
/files/{fileId}/permissions Lists a file's or shared drive's permissions. For more information, see Share files, folders, and drives.
Parameters
path Path Parameters
| Name | Type |
|---|---|
fileId
required
The ID of the file or shared drive. | string |
query Query Parameters
| Name | Type |
|---|---|
includePermissionsForView Specifies which additional view's permissions to include in the response. Only | string |
pageSize The maximum number of permissions to return per page. When not set for files in a shared drive, at most 100 results will be returned. When not set for files that are not in a shared drive, the entire list will be returned. | number |
pageToken The token for continuing a previous list request on the next page. This should be set to the value of | string |
supportsAllDrives Whether the requesting application supports both My Drives and shared drives. | boolean |
supportsTeamDrives Deprecated: Use | boolean |
useDomainAdminAccess Issue the request as a domain administrator. If set to | boolean |
access_token OAuth access token. | string |
alt Data format for response. | "json" | "media" | "proto" |
callback JSONP | string |
fields Selector specifying which fields to include in a partial response. | string |
key API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. | string |
oauth_token OAuth 2.0 token for the current user. | string |
prettyPrint Returns response with indentations and line breaks. | boolean |
quotaUser Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. | string |
upload_protocol Upload protocol for media (e.g. "raw", "multipart"). | string |
uploadType Legacy upload protocol for media (e.g. "media", "multipart"). | string |
$.xgafv V1 error format. | "1" | "2" |
Responses
Successful response
kind?: string;
nextPageToken?: string;
permissions?:
}