是否有一种编程方式可以导出 Watson Conversation 的意图?

Is there a programmatic way to export intents for Watson Conversation?

我知道您可以转到 Watson Conversation 界面,右键单击工作区,然后下载工作区的 JSON,其中包含意图,如下所示:

但是,我需要写一个 program/script 来自动执行此操作。 API 方法会很好,但我没有在 API documentation. My question is different than this 中找到任何方法,因为我可以尝试一种解决方法而不是使用 API,就像执行 GET 到下载link,但我无法处理 SSO 身份验证。

如何以编程方式下载工作区 JSON?

最近宣布了 /workspaces 端点,可能会满足您的需要。在此处查看:https://www.ibm.com/watson/developercloud/conversation/api/v1/#get_workspace 查看 EntityExportResponse。