如何获取部署分组列表
获取某应用下部署分组列表。
请求 URI
- [backcolor=transparent]/app/[backcolor=transparent]deploy_group_list
参数列表
响应数据
- [backcolor=transparent]{
- [backcolor=transparent] [backcolor=transparent]"code"[backcolor=transparent]:[backcolor=transparent]200[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"data"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent][{
- [backcolor=transparent] [backcolor=transparent]"id"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"a uuid based deploy group id"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"groupName"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"Beta 分组"[backcolor=transparent] [backcolor=transparent]// 分组名称,注:如果名称为默认分组,则 groupName 为:_DEFAULT_GROUP
- [backcolor=transparent] [backcolor=transparent]}]
- [backcolor=transparent]}
示例
- [backcolor=transparent]Map[backcolor=transparent]<[backcolor=transparent]String[backcolor=transparent],[backcolor=transparent]String[backcolor=transparent]>[backcolor=transparent] [backcolor=transparent]params[backcolor=transparent] [backcolor=transparent]=[backcolor=transparent] [backcolor=transparent]new[backcolor=transparent] [backcolor=transparent]HashMap[backcolor=transparent]<[backcolor=transparent]String[backcolor=transparent],[backcolor=transparent]String[backcolor=transparent]>();
- [backcolor=transparent]params[backcolor=transparent].[backcolor=transparent]put[backcolor=transparent]([backcolor=transparent]"appId"[backcolor=transparent],[backcolor=transparent] [backcolor=transparent]"fb56e759-7d9d-4ba7-91bf-75caa53de0da"[backcolor=transparent]);
- [backcolor=transparent]String[backcolor=transparent] resp [backcolor=transparent]=[backcolor=transparent] edasApiClient[backcolor=transparent].[backcolor=transparent]callApi[backcolor=transparent]([backcolor=transparent]EdasApiAction[backcolor=transparent].[backcolor=transparent]App[backcolor=transparent].[backcolor=transparent]deploy_group_list[backcolor=transparent].[backcolor=transparent]path[backcolor=transparent](),[backcolor=transparent] [backcolor=transparent]params[backcolor=transparent]);
- [backcolor=transparent]System[backcolor=transparent].[backcolor=transparent]out[backcolor=transparent].[backcolor=transparent]println[backcolor=transparent]([backcolor=transparent]resp[backcolor=transparent]);
收起
猫饭先生
2017-10-26 11:08:34
1331
0
0
条回答
写回答
取消
提交回答