Reputation: 21
I am trying to sync files uploaded in Box with another external system. Which API(s) do I use to get a "list of all files uploaded/updated after given dd/mm/yy hh:mm:ss"?
cheers!
Upvotes: 2
Views: 1697
Reputation: 8025
I think the User Events API is going to be your best option. This API will return to you the stream of events for a given user. You will then need filter that stream down a bit per your requirements. Some things to consider:
created_at
field that you can use to filter down the result set to a particular point in time.event_type
field that indicates the nature of the event and can be used for filtering the results. The event types that might interest you are:
source
field has a type
property that indicates whether the item is a file
or folder
.Hope that gets you pointed in the right direction!
Upvotes: 3