Autodesk Forge Webhooks API 发布完成的 webhook

Autodesk Forge Webhooks API publish completed webhook

是否有网络钩子通知模型发布操作已完成 (succeeded/failed)?

我找到了一个通知操作已经开始的webhook。但是对我没有用,因为我需要在操作完成并更新模型后将模型复制到另一个目录。

根据 model.publish 事件的 documentation,webhook 回调中的 payload.state 属性 表示:

Reason why the notification was triggered. Possible values are PUBLISHING_PENDING and PUBLISHING_IN_PROGRESS.

Note: There is no PUBLISHING_COMPLETE state. Use the dm.version.added event to receieve notifications when publishing is finished.

因此,考虑使用 dm.version.added 事件。