Reading all users files
I'd like to read all users files and folder via Box API (without explicit sharing). Is it possible using personal account? Is it possible using business account? I'm using OAuth flow to authorize the admin user.
From what I understand I can do that in UI using Content Manager so I was looking for something similar in API docs and I'm lost now.
- https://developer.box.com/docs/scopes says tha `root_readonly` has capability for "View files and folders within the given app or enterprise." Apparently setting this scope does not change anything because I'm still getting only files the belong to user that authorized the app (tested with personal account and basic business trial).
- Again https://developer.box.com/docs/scopes says that "Global Content Manager" can be enabled per request but this requires support ticket to be filed, but I'm still not sure if this is what I really need.
-
To do this via the API without having explicit access, you would need to:
1.) file a ticket at support.box.com to enable the GCM scope: https://developer.box.com/docs/scopes#section-scopes-enabled-by-request
2.) use an admin token to make the API call
Best,
Kourtney
Box Technical Support Engineer
-
Is GCM available in all plans or do I have to have specifc plan? Here https://www.box.com/en-gb/pricing I can see that Business Plus has "Full content visibility and management" feature. Does it refer to GCM?
-
The associated UI feature, the content manager, is only available to business plus accounts and above. However, the GCM scope is available to any account type. We can grant this to your application if you open a support ticket at support.box.com and provide the client ID. The client ID can be found in the configuration tab of the developer console!
Best,
Kourtney
Box Technical Support Engineer
Please sign in to leave a comment.
Comments
4 comments