部署 CODEARTS DEPLOY-新建应用 (推荐):请求示例

时间:2024-04-10 16:24:47

请求示例

创建一个应用

https://{endpoint}/v1/applications

{
  "name" : "deployenv20230822192953",
  "project_id" : "55837d272adf4eee90319800e2da6961",
  "description" : "使用空白模板创建应用",
  "trigger" : {
    "trigger_source" : 0,
    "artifact_source_system" : "",
    "artifact_type" : ""
  },
  "slave_cluster_id" : "",
  "create_type" : "template",
  "is_draft" : true,
  "arrange_infos" : [ ]
}
support.huaweicloud.com/api-deployman/CreateApp.html