答案 0 :(得分:0)
Permissions: create为文件或团队驱动器创建权限。
POST https://www.googleapis.com/drive/v3/files/fileId/permissions
帖子正文为Permissions resource
{
"kind": "drive#permission",
"id": string,
"type": string,
"emailAddress": string,
"domain": string,
"role": string,
"allowFileDiscovery": boolean,
"displayName": string,
"photoLink": string,
"expirationTime": datetime,
"teamDrivePermissionDetails": [
{
"teamDrivePermissionType": string,
"role": string,
"inheritedFrom": string,
"inherited": boolean
}
],
"deleted": boolean
}
您没有发送完整的权限资源。