如何为 EU 创建 Autodesk Forge Webhooks 前端
我正在尝试使用 webhook触发转换完成事件。然而,它似乎并没有按预期工作。我的存储桶位于欧盟,我是否需要使用不同的 URL 来设置欧盟的 Webhook?类似于 https://developer.api.autodesk.com/modelderivative/v2 /regions/eu/ ...?
I am trying to use the webhook to trigger the conversion done event. However, it does not seem to work as expected. My buckets are located in EU, do I need to have a different URL for setting the Webhook in EU? Something like https://developer.api.autodesk.com/modelderivative/v2/regions/eu/ ...?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
数据管理、模型衍生和Webhooks这三者都涉及区域。
请参见 https://forge.autodesk.com/blog/data -management-and-model-derivative-regions
创建webhook时,您还需要在那里指定区域(除非使用默认的美国)使用x-ads-region 标头:https://forge.autodesk.com/en/docs/webhooks/v1/reference/http/systems-system-events-event-hooks-POST/#headers
因此,创建一个 EU 的 webhook(如果这是您用于模型衍生品服务的区域)。
All three, Data Management, Model Derivative, and Webhooks deal with regions.
See https://forge.autodesk.com/blog/data-management-and-model-derivative-regions
When creating a webhook, you need to specify the region there too (unless going with the default US) using the x-ads-region header: https://forge.autodesk.com/en/docs/webhooks/v1/reference/http/systems-system-events-event-hooks-POST/#headers
So, create a webhook for EU if that's the region you are using for the Model Derivative service.