开发者社区> 问答> 正文

如何获取应用列表


获取当前用户的应用列表。

请求 URI

  1. [backcolor=transparent]/app/[backcolor=transparent]app_list


参数列表




响应数据

  1. [backcolor=transparent]{
  2. [backcolor=transparent]    [backcolor=transparent]"code"[backcolor=transparent]:[backcolor=transparent]200[backcolor=transparent],
  3. [backcolor=transparent]    [backcolor=transparent]"data"[backcolor=transparent]:[
  4. [backcolor=transparent]        [backcolor=transparent]{
  5. [backcolor=transparent]            [backcolor=transparent]"owner"[backcolor=transparent]:[backcolor=transparent]"xxxxxx"[backcolor=transparent],
  6. [backcolor=transparent]            [backcolor=transparent]"desiredState"[backcolor=transparent]:[backcolor=transparent]"RUNNING"[backcolor=transparent],
  7. [backcolor=transparent]            [backcolor=transparent]"buildpackId"[backcolor=transparent]:[backcolor=transparent]34[backcolor=transparent],
  8. [backcolor=transparent]            [backcolor=transparent]"instances"[backcolor=transparent]:[backcolor=transparent]1[backcolor=transparent],
  9. [backcolor=transparent]            [backcolor=transparent]"runnings"[backcolor=transparent]:[backcolor=transparent]0[backcolor=transparent],
  10. [backcolor=transparent]            [backcolor=transparent]"description"[backcolor=transparent]:[backcolor=transparent]""[backcolor=transparent],
  11. [backcolor=transparent]            [backcolor=transparent]"userId"[backcolor=transparent]:[backcolor=transparent]"xxxxxx@aliyun.com"[backcolor=transparent],
  12. [backcolor=transparent]            [backcolor=transparent]"launchTime"[backcolor=transparent]:[backcolor=transparent]1466647411805[backcolor=transparent],
  13. [backcolor=transparent]            [backcolor=transparent]"prevState"[backcolor=transparent]:[backcolor=transparent]"RUNNING"[backcolor=transparent],
  14. [backcolor=transparent]            [backcolor=transparent]"hcUrl"[backcolor=transparent]:[backcolor=transparent]"http://localhost:8080/serviceaa"[backcolor=transparent],
  15. [backcolor=transparent]            [backcolor=transparent]"createTime"[backcolor=transparent]:[backcolor=transparent]1466578207327[backcolor=transparent],
  16. [backcolor=transparent]            [backcolor=transparent]"phone"[backcolor=transparent]:[backcolor=transparent]"150xxxxxxxx"[backcolor=transparent],
  17. [backcolor=transparent]            [backcolor=transparent]"regionId"[backcolor=transparent]:[backcolor=transparent]"cn-qingdao"[backcolor=transparent],
  18. [backcolor=transparent]            [backcolor=transparent]"appId"[backcolor=transparent]:[backcolor=transparent]"08208d49-f8c8-454a-99b6-98d4c63d262e"[backcolor=transparent],
  19. [backcolor=transparent]            [backcolor=transparent]"name"[backcolor=transparent]:[backcolor=transparent]"0622Provider"[backcolor=transparent],
  20. [backcolor=transparent]            [backcolor=transparent]"id"[backcolor=transparent]:[backcolor=transparent]"08208d49-f8c8-454a-99b6-98d4c63d262e"[backcolor=transparent],
  21. [backcolor=transparent]            [backcolor=transparent]"state"[backcolor=transparent]:[backcolor=transparent]"RUNNING"[backcolor=transparent],
  22. [backcolor=transparent]            [backcolor=transparent]"targetBuildpackId"[backcolor=transparent]:[backcolor=transparent]0[backcolor=transparent],
  23. [backcolor=transparent]            [backcolor=transparent]"email"[backcolor=transparent]:[backcolor=transparent]"xxxxxx@aliyun.com"
  24. [backcolor=transparent]        [backcolor=transparent]}
  25. [backcolor=transparent]    [backcolor=transparent]]
  26. [backcolor=transparent]}


示例

  1. [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]);
  2. [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 条回答
写回答
取消 提交回答
问答地址:
问答排行榜
最热
最新

相关电子书

更多
JCLI使用说明文档 立即下载
低代码开发师(初级)实战教程 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载