【发布时间】:2014-04-25 15:50:46
【问题描述】:
- 我在 Google Docs 中创建了一个文档,并在 URL 中记录了唯一的文件 ID
- 我访问了https://developers.google.com/drive/v2/reference/permissions/list 并使用了“试试看!”页面底部的 API Explorer 以确认我被列为具有“所有者”权限的唯一用户
- 我访问了https://developers.google.com/drive/v2/reference/permissions/insert 并为具有值
{"role":"writer", "type":"user", "value":"someone@example.com"}的新用户添加了权限 - 我返回https://developers.google.com/drive/v2/reference/permissions/list并验证新用户已被授予权限
- 我访问了https://developers.google.com/drive/v2/reference/permissions/delete 并使用文件 ID 及其权限 ID“删除”了用户的权限(带有 204 响应)
- 我返回https://developers.google.com/drive/v2/reference/permissions/list,但令我失望的是,用户仍然可以访问
我在这里遗漏了什么还是 API 在这方面被破坏了?
【问题讨论】:
-
驱动器上周坏了。目前尚不清楚何时可以修复。您可能正在遇到该错误
-
不会碰巧对此有引用,对吗?谷歌搜索“google drive sdk status”让我无处可去。
-
这是我最好的。 plus.google.com/106160348960403302854/posts/Q7EXHjHiSC5 如果您向后滚动浏览上周的 [google-drive-sdk] 问题,您会看到很多类似的问题被问到。
标签: google-drive-api