Skip to main content
Question

Folder events

  • May 22, 2025
  • 1 reply
  • 12 views

Forum|alt.badge.img

I'm looking for a way to retrieve a list of events (related to files/folders) of a specific folder starting from a specific time.
For example, a request "get_folder_changes(12345678, '10 Sep 2021 22:14:23.45)" will give me:
file1: changed by user X on 10 Sep 2021 22:15:02.23
file2: added by user Y on 10 Sep 2021 22:17:23.86
folder1: added by user Z on 10 Sep 2021 23:22:45.78
file1: changed by user Y on 11 Sep 2021 01:22:12.43

The list must be in chronological order. The output can be in json or other parseable formats. Most probably the language will be Python.
Users X, Y and Z are collaborators of folder 12345678.

How I can achieve that?

1 reply

Forum|alt.badge.img

Unfortunately, the functionality as you describe does not exist. A workaround could be to use the event stream endpoint. You can't limit it to one folder though, so you would need to have logic in your code to search for a folder id in the event for specific event types. This would be kind of a challenge to create manually, but it can be done. 

Thanks, 

Alex, Box Developer Advocate