如何获取应用列表
获取当前用户的应用列表。
请求 URI
- [backcolor=transparent]/app/[backcolor=transparent]app_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]"owner"[backcolor=transparent]:[backcolor=transparent]"xxxxxx"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"desiredState"[backcolor=transparent]:[backcolor=transparent]"RUNNING"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"buildpackId"[backcolor=transparent]:[backcolor=transparent]34[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"instances"[backcolor=transparent]:[backcolor=transparent]1[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"runnings"[backcolor=transparent]:[backcolor=transparent]0[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"description"[backcolor=transparent]:[backcolor=transparent]""[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"userId"[backcolor=transparent]:[backcolor=transparent]"xxxxxx@aliyun.com"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"launchTime"[backcolor=transparent]:[backcolor=transparent]1466647411805[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"prevState"[backcolor=transparent]:[backcolor=transparent]"RUNNING"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"hcUrl"[backcolor=transparent]:[backcolor=transparent]"http://localhost:8080/serviceaa"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"createTime"[backcolor=transparent]:[backcolor=transparent]1466578207327[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"phone"[backcolor=transparent]:[backcolor=transparent]"150xxxxxxxx"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"regionId"[backcolor=transparent]:[backcolor=transparent]"cn-qingdao"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"appId"[backcolor=transparent]:[backcolor=transparent]"08208d49-f8c8-454a-99b6-98d4c63d262e"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"name"[backcolor=transparent]:[backcolor=transparent]"0622Provider"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"id"[backcolor=transparent]:[backcolor=transparent]"08208d49-f8c8-454a-99b6-98d4c63d262e"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"state"[backcolor=transparent]:[backcolor=transparent]"RUNNING"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"targetBuildpackId"[backcolor=transparent]:[backcolor=transparent]0[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"email"[backcolor=transparent]:[backcolor=transparent]"xxxxxx@aliyun.com"
- [backcolor=transparent] [backcolor=transparent]}
- [backcolor=transparent] [backcolor=transparent]]
- [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]app_list[backcolor=transparent].[backcolor=transparent]path[backcolor=transparent](),[backcolor=transparent] [backcolor=transparent]null[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:06:23
1235
0
0
条回答
写回答
取消
提交回答