How to get update feed via API
Hello, i need to ask if it's possible to get JSON response (output) from API to get updates feed from Box. For example, we need to have reporting for files and folders and details, who moved file, created, update file, delete file or add / change collaboration. If it's possible, how can i achieve this (which API call, can't find it in documentation), or if it's possible to have some sort of events on every update for example.
Thank you
Adam
-
You won't be able to invoke any of the standard Box admin reports directly but you can get to the same information through the Event stream. Note this only has up to a years worth of events kept.
https://box.dev/reference/resources/event/
We are using this method to pull certain content related to external sharing and collaborators to save off in a SQL db for Qtrly reporting and reviews of content.
-
Hello,
i found call to get user events and enterprise events, but problem what we have is, everytime we run api call, we get response only for date "created_at": "2020-11-25T00:24:05-08:00",
"recorded_at": "2020-11-25T00:24:05-08:00",
"event_type": "ITEM_UPLOAD", and as seen in response, for ITEM_UPLOAD and ITEM_CREATE. We tried to setup optional query parameter for create_after 2020-12-12..... and event_type for something other, for example ACCESS_GRANTED, but still same response for 2020-11-25 and ITEM_UPLOAD etc.What can we do wrong, or how to achieve latest events?
Thank you.
Greetings, Adam.
サインインしてコメントを残してください。
コメント
2件のコメント