我需要创建一个文件并将其共享给JS应用程序中同一个域中的所有用户。Google Drive API文件搜索
下面是创建请求体:
{title: documentName, mimeType: "application/vnd.google-apps.spreadsheet"}
比我加入域的权限创建的文件。
权限插入请求体:
{ "role": "writer","type": "domain","value": domain}
一切工作正常,创建该文件的用户,我可以找到{q:"title='"+documentName+"' and trashed=false"}
文件。
但我找不到与其他用户的文件。
我试图sharedWithMe文件夹看:
{q:"title='"+that._documentName+"' and trashed=false and sharedWithMe=true"}
- 没有结果
但我找不到任何在驱动器相关source:domain
蜜蜂。
是什么[标签:谷歌的Chrome扩展]与此有关?抢先删除标签,但如果可以解释,请随时添加。 – Xan
我觉得这个问题试图解决同样的问题,但是他们也没有找到正式的答案。其他评论者说相同:http://stackoverflow.com/questions/20982992/searching-for-shared-domain-documents-using-google-drive-api – busse