Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Cant upload to or list folder under Shared drives #470

Open
ppbrown opened this issue Jul 1, 2019 · 15 comments
Open

Cant upload to or list folder under Shared drives #470

ppbrown opened this issue Jul 1, 2019 · 15 comments
Labels
Missing Feature Exists in the API, but not in the app

Comments

@ppbrown
Copy link

ppbrown commented Jul 1, 2019

I dont see a way to get info or list things udner the "Shared drives" area in google drive.

If I navigate to a shared drive folder in my browser,
https://drive.google.com/drive/folders/0AE0r2p7xxxxxxxxxxx

gdrive info 0AE0r2p7xxxxxxxxxxx

fails, with a googleapi Error 404: File not found

but that method works fine for non-shareddrive folders.

Any suggestions?

@mbenlioglu
Copy link
Contributor

Shared drives are a bit hard to work on as it needs G suite admin access to use it an its API parameters a bit different (which recently changed as well). So currently no support for it, but I'll mark this as missing feature and check.

@mbenlioglu mbenlioglu added the Missing Feature Exists in the API, but not in the app label Jul 4, 2019
@ppbrown
Copy link
Author

ppbrown commented Jul 4, 2019

If you can point me to the API, and tips on how to get started with gdrive prog, I might take a crack at it myself.

@mbenlioglu
Copy link
Contributor

The API guide is here: https://developers.google.com/drive/api/v3/about-shareddrives
If you're familiar with the go language you can execute

$ go get github.com/gdrive-org/gdrive

and get started with the code.

I'll attach a contribution guideline too as soon as I resolve some urgent issues I'm facing.

Thanks for the kind offer btw

@ppbrown
Copy link
Author

ppbrown commented Jul 4, 2019 via email

@ppbrown
Copy link
Author

ppbrown commented Jul 9, 2019 via email

@mbenlioglu
Copy link
Contributor

User credential is only a way of authorizing gdrive to access your drive files/folders. Gdrive is tied to a project in Google console, project key is created by Petter and hardcoded to code (for now). You can setup your own project and credentials for the project too. Check this out #426.

@ppbrown
Copy link
Author

ppbrown commented Jul 12, 2019 via email

@JanKlopper
Copy link

Did your patch get merged at any point? And would where would I get your source? I'd like to test this feature.

@ppbrown
Copy link
Author

ppbrown commented Sep 6, 2019 via email

@twilson90
Copy link

I've compiled your pull request and put my project credentials.json in ~/.gdrive but it still returns a 404 when I try to get info on a shared drive file.
Does the aforementioned 'supportsAllDrives' value still need to be set somewhere in the source code? Or have I created the wrong credentials file I wonder...

@ppbrown
Copy link
Author

ppbrown commented Sep 30, 2019 via email

@Anon-Exploiter
Copy link

So, I guess it was never solved? Trying right now and getting the same 404 response with shared drive :(

@andrebotelho-warren
Copy link

same here :/

@deivid-01
Copy link

Same problem. It would has been great to have this feature 😞

@antoine2711
Copy link

Shared drives are a bit hard to work on as it needs G suite admin access to use it an its API parameters a bit different (which recently changed as well). So currently no support for it, but I'll mark this as missing feature and check.

@mbenlioglu : did you do progress on that front? I'm having troubles with a Shared Drive.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Missing Feature Exists in the API, but not in the app
Projects
None yet
Development

No branches or pull requests

8 participants