V2 Webhook get file when renamed
Hi folks.
Does the v2 webhook support an event similar to FILE.RENAME or FOLDER.RENAME or is the Enterprise Events advice still valid here for the new version of webhooks?
(Named the same as the other ticket in order to reference it.).
-
Hi,
Strangely enough I have just run into the same problem, tests I have carried out so far indicate that no webhook is fired when a folder/file is renamed, unless there is an undocumented file.renamed / folder.renamed. The situation is obviously more serious for folder renames as that effectively changes the path for all files underneath it, I am aware you can can resolve this using parent, but even so it is inconvenient. Love to hear a solution to this problem.
Cheers
Dave
-
Hi,
according to this post (https://developer.box.com/docs/api-changelog)
2017-09-1 New Event Triggers for Webhooks v2
We added two new event triggers for webhooks v2:
- FILE.RENAMED
- FOLDER.RENAMED
should be possible to listen to FILE.RENAMED event via Webhook V2. I have successfully created a webhook V2 with FILE.UPLOADED and FILE.RENAMED triggers, but only FILE.UPLODED trgger is actually working. I've tried all other FILE.* triggers and all works fine - except the FILE.RENAMED. I've also tried the FOLDER.RENAMED trigger and that one also doesn't work. Am I something missing? Are the F~.RENAMED triggers supported in Webhook V2 or not?
Karel Sokl
Please sign in to leave a comment.
Comments
3 comments