The api's for SkyDrive and Dropbox have options for managing the user's entire drive. For Google Drive, the drive.file scope seems to give only access to the files created by the app. Is there a scope for Google Drive that gives access to the entire drive?
Even as an admin you cannot access users files directly. To access other user's files, as an admin you need to impersonate the users and then perform actions in their behalf. This is achieved by using a service account with domain wide delegation of authority.
Send a link to a shared fileIf you've set a file, folder or Google Doc to "Anyone with the link" or "Public," you can send the link to another person and they'll be able to access it. Go to drive.google.com.
When you click on Owner, Type, More, a drop-down menu will appear below the search box. Don't put anything in the search box. Instead, select Owned by Me to see all your own files. Or choose whatever other option is appropriate for your needs.
Edit: The below answer was correct, but the latest version of the Drive API allows requesting of a full scope with https://www.googleapis.com/auth/drive
. The Documents List API is no longer needed for this use case. See https://developers.google.com/drive/scopes#requesting_full_drive_scope_for_an_app
To be precise the Drive API gives access to Files created by the app and files that the user has opened with the app from the Drive UI (through open-with).
To manipulate all of the Drive files of the user you can use the Google Document List API . Though we currently forbid Drive applications (the ones that have get integrated in the Drive UI through the Open-with and Create dialogs) to request access to the Document List API as we want to keep Drive application on a per-file security model. (Basically adding the Document List scope in the Drive SDK settings raises an error).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With