Can we get box metadata change event in event listener?
I added an event listener to get event from box, and I created some metadata for a box file, but I couldn't get the event for the metadata change. Is there any way that we can get the events for metadata change, collaboration change or access change? btw, I am using user event, thanks a lot!
Sam
-
Hello ,
Yes, we do have webhook events for metadata and collaboration changes. You can find a complete list of options here: https://developer.box.com/guides/webhooks/manage/triggers/.
Best,
Kourtney
Box Technical Support Engineer
-
I did some experiment today, I created a Webhook trigger successfully but it seems it is not triggered when I uploaded a file to a folder because my service is not called.
In java, the Webhook is created by
BoxWebHook.Info hookInfo = BoxWebHook.create(new BoxFolder(api, folderId), url, BoxWebHook.Trigger.FILE_UPLOADED);
btw, the trigger is BoxWebHook.Trigger.FILE_UPLOADED not BoxWebHook.Trigger.FILE.UPLOADED as said in the Webhook document, do you know why?
Is there anything I missed here, thanks a lot for your reply in advance.
サインインしてコメントを残してください。
コメント
3件のコメント