post processing "all files"?
I am considering a backend service that will post-process all uploaded files in the enterprise (think custom data mining or similar).
To do that, I need something like a webhook to notify my service when ANY user uploads a new file, and then I guess I need to fetch the file "As User" from what...a Service Account?
What's the best way to register for events (uploaded files) for the entire enterprise - or register a webhook (on the Enterprise Root Folder?) - to get the notifications?
Thanks for any pointers.
-
The event feed is probably what you will want to use. https://developer.box.com/reference#get-events-in-an-enterprise
-
that makes sense. Docs say requires an enterprise admin account...so can I configure a service account to do this? (FWIW, some of the account selectors - while there are some charts in the docs in the api pages - are a little ambiguous)
And once I have the event, my service account is not automatically authorized to download that file, right? I have to fetch the file with the "AsUser" header/option?
Thanks again.
Please sign in to leave a comment.
Comments
3 comments