Get Files and Folders for a specific user through Box Api
I need to get all the files and folders created by a specific user.
I saw that one way of achieving this is by getting all the uploaded events :
"https://api.box.com/2.0/events?stream_type=admin_logs&event_type=UPLOAD"
and search for "created_by: desired_user", but the amount of data coming back from the above call can be huge.
(if the chunk size from the return events list equals with 100, you'll have to call the next_stream_position and the loop will continue until the chunk_size of the last returned list is less than 100).
Is there any other way of getting from the beginning only the files and folders from a specific user?
Please sign in to leave a comment.
Comments
1 comment