Box.com - 将box.com应用添加到特定文件夹

时间:2015-07-28 00:26:11

标签: box-api box

我们有一个客户端要将文件上传到我们的box.com文件夹。据我所知,只要有人上传任何内容,我就可以使用webhooks向我的服务器发出POST请求。 Webhooks是在您需要创建的box.com应用程序内部设置的。这一切都有道理。但是如何将我的应用添加到"监控"那特定的文件夹?我是否需要发布我的应用程序(我不想这样做)?谢谢。

1 个答案:

答案 0 :(得分:1)

How do I add my app to "monitor" that specific folder?

When you configure the webhook for Upload events, you can specify that Box should include the ID (#item_parent_folder_id#) of the folder that received the upload. On the server you can use this ID to monitor for uploads to a specific folder. (This assumes you know the ID of the upload folder in advance, and it sounds like you do.)

enter image description here

Do I need to publish my app?

No, you don't need to publish the app.