是否有 REST API 用于在 InfoSphere 中创建新的数据连接?

Is there a REST API to create a new Data Connection in InfoSphere?

我想使用 REST API 以编程方式将数据连接添加到 IBM Information Server(就像我在 UI 中单击 'Create Connection' 一样),以便我可以创建关联资产(例如数据库、模式、Table、列)

我已转到 [server]/ibm/iis/igc-rest-explorer/ 查看了当前可用的 API。我相信我需要 POST/assets/,但实施说明指出:

Create an asset by passing in a JSON object with the required and additional properties (currently supported: term, category, information_governance_policy, information_governance_rule, collection, label, data_class). Must include a '_type' field as well as all required fields.

这不包括添加 ID 为 data_connection 或任何 database_* 的资产的能力。是否有不同的方法(不确定 Open IGC 是否适用或有帮助)能够以编程方式添加(创建/POST)上述资产类型?

您需要使用 Infosphere Information Metadata Asset Manager 创建新的数据连接(通过 GUI 或 CLI)。

更多详细信息,请访问 https://www.ibm.com/support/knowledgecenter/en/SSZJPZ_11.5.0/com.ibm.swg.im.iis.mmi.doc/topics/r_imam_cmd_createdc.html