查看Podio-webhook API的文档,我看到了对ref_type
和ref_id
的引用。但是,没有关于ref_type
是什么的文档。在尝试创建一个普通的item.create
网络挂钩时,我不确定在这里放什么。
ref_type
有哪些类型?
此处的文档:https://podio-community.github.io/podio-php/webhooks/https://developers.podio.com/doc/hooks/create-hook-215056
Podio web挂钩的详细描述如下:https://developers.podio.com/doc/hooks
ref_type
可以是:
- 应用程序
- 应用程序字段
- 空间
对于最广泛使用的item.create
web挂钩,您希望使用app
作为ref_type,<app_id>
作为ref_id。
关于如何使用Podio网络挂钩的示例如下:https://developers.podio.com/examples/webhooks