Note that there are some explanatory texts on larger screens.

plurals
  1. POhow to list "shared with me" items via new google drive api?
    primarykey
    data
    text
    <p>When I look via web I have four files in "shared with me" folder: file1, file2, file3, fil4. I don`t own them (I can write/reade only). I tried get them with file.list method with parameter q = 'not (myId) in owners'. After that the results contain only one item of the four file1. When I do q = 'not (myId) in owners' and title = 'file2' After that the results contain only one item file2. Somebody can tell me why? Or how to list them in other way?</p> <p>UPDATE. After some time <code>"q = not 'me' in owner"</code> returns empty array (. Below result of <code>"q = not 'me' in owners and title = 'File Name'"</code></p> <pre><code>{ "kind": "drive#fileList", "etag": "\"dTUgP0s1WO8T7wOSfuvve0A4d_k/7dZrNXLata7h1mdbx2RHkqdePEM\"", "selfLink": "https://www.googleapis.com/drive/v2/files?q=not+'me'+in+owners+and+title+%3D+'File+Name'", "items": [ { "kind": "drive#file", "id": "1L8lfBYZHV59uUVpFspFdeW4SaJB7eo3CgPe59kpNCmY", "etag": "\"dTUgP0s1WO8T7wOSfuvve0A4d_k/MTM0MjE4MDUzNjUyNg\"", "selfLink": "https://www.googleapis.com/drive/v2/files/1L8lfBYZHV59uUVpFspFdeW4SaJB7eo3CgPe59kpNCmY", "alternateLink": "https://docs.google.com/a/readdle.com/document/d/1L8lfBYZHV59uUVpFspFdeW4SaJB7eo3CgPe59kpNCmY/edit", "embedLink": "https://docs.google.com/a/readdle.com/document/d/1L8lfBYZHV59uUVpFspFdeW4Sa5JB7eo3CgPe59kpNCmY/preview", "thumbnailLink": "https://docs.google.com/feeds/vt?gd=true&amp;id=1L8lfBYZHV59uUVpFspFdeW4SaJB7eo3CgPe59kpNCmY&amp;v=270&amp;s=AMedNnoAAAAAUE-eryR5NIqdEWR3A7bza730sDHhziBH&amp;sz=s220", "title": "File Name", "mimeType": "application/vnd.google-apps.document", "labels": { "starred": false, "hidden": false, "trashed": false, "restricted": false, "viewed": true }, "createdDate": "2012-03-19T08:37:26.636Z", "modifiedDate": "2012-07-13T11:55:36.526Z", "modifiedByMeDate": "2012-05-11T13:02:10.901Z", "lastViewedByMeDate": "2012-09-04T14:44:32.193Z", "sharedWithMeDate": "2012-05-11T10:15:44.221Z", "parents": [ ], "exportLinks": { "application/vnd.oasis.opendocument.text": "https://docs.google.com/feeds/download/documents/export/Export?id=1L8lfBYZHV59uUVpFspFdeW4SaJB7eo3CgPe59kpNCmY&amp;exportFormat=odt", "application/msword": "https://docs.google.com/feeds/download/documents/export/Export?id=1L8lfBYZHV59uUVpFspFdeW4SaJB7eo3CgPe59kpNCmY&amp;exportFormat=doc", "text/html": "https://docs.google.com/feeds/download/documents/export/Export?id=1L8lfBYZHV59uUVpFspFdeW4SaJB7eo3CgPe59kpNCmY&amp;exportFormat=html", "application/rtf": "https://docs.google.com/feeds/download/documents/export/Export?id=1L8lfBYZHV59uUVpFspFdeW4SaJB7eo3CgPe59kpNCmY&amp;exportFormat=rtf", "text/plain": "https://docs.google.com/feeds/download/documents/export/Export?id=1L8lfBYZHV59uUVpFspFdeW4SaJB7eo3CgPe59kpNCmY&amp;exportFormat=txt", "application/pdf": "https://docs.google.com/feeds/download/documents/export/Export?id=1L8lfBYZHV59uUVpFspFdeW4SaJB7eo3CgPe59kpNCmY&amp;exportFormat=pdf" }, "userPermission": { "kind": "drive#permission", "etag": "\"dTUgP0s1WO8T7wOSfuvve0A4d_k/b2rD7cIZxsGVuxg2MbXoc17PSQU\"", "id": "me", "selfLink": "https://www.googleapis.com/drive/v2/files/1L8lfBYZHV59uUVpFspFdeW4SaJB7eo3CgPe59kpNCmY/permissions/me", "role": "writer", "type": "user" }, "quotaBytesUsed": "0", "ownerNames": [ "Owner Name" ], "lastModifyingUserName": "Owner Name", "editable": true, "writersCanShare": true } ] } </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload