REST API 调用设置名称空间首选项和程序首选项
REST API calls for setting namespace preferences and Program preferences
命名空间首选项和程序首选项是否可以通过 REST API 调用设置?如果是,它的语法是什么?
一般在Cloud Data Fusion中,当我们打算在GCP端进行操作时,如create/delete/restart等实例,使用国内的Google Cloud API, giving the opportunity to interact with a service endpoint via JSON/HTTP calls interface as described in Google Cloud API design 文档.
致力于数据融合,您可以按照 Cloud Data Fusion REST API reference document, nicely explaining the methods for composing REST API HTTP calls to manage Data Fusion instances, moreover every method description from the documentation contains Google API Explorer sub-panel,获得对实时数据构建 JSON 请求的便捷体验。
如上所述,我假设您最初的问题更多地与 CDAP REST API 相关,因为它包括纯 CDAP 实例 metadata/namespaces/application 配置的方法。
从用户的角度来看,您的工作流程可能如下所示:
- 按照本 guideline;
中的说明确定 CDAP API 端点
- 撰写与数据融合相关的 HTTP PUT/GET 请求
Namespace/Metadata/Preferences/Configuration
通过 CDAP RESTful API.
对象
命名空间首选项和程序首选项是否可以通过 REST API 调用设置?如果是,它的语法是什么?
一般在Cloud Data Fusion中,当我们打算在GCP端进行操作时,如create/delete/restart等实例,使用国内的Google Cloud API, giving the opportunity to interact with a service endpoint via JSON/HTTP calls interface as described in Google Cloud API design 文档.
致力于数据融合,您可以按照 Cloud Data Fusion REST API reference document, nicely explaining the methods for composing REST API HTTP calls to manage Data Fusion instances, moreover every method description from the documentation contains Google API Explorer sub-panel,获得对实时数据构建 JSON 请求的便捷体验。
如上所述,我假设您最初的问题更多地与 CDAP REST API 相关,因为它包括纯 CDAP 实例 metadata/namespaces/application 配置的方法。
从用户的角度来看,您的工作流程可能如下所示:
- 按照本 guideline; 中的说明确定 CDAP API 端点
- 撰写与数据融合相关的 HTTP PUT/GET 请求 Namespace/Metadata/Preferences/Configuration 通过 CDAP RESTful API. 对象