获取某一个应用的详细信息(包括应用运行状态)。
请求 URI
- /app/app_info
参数列表
响应数据
- {
- "code":200,
- "data":{
- "owner":"xxxxxx",
- "desiredState":"RUNNING",
- "buildpackId":34,
- "instances":1,
- "runnings":0,
- "description":"",
- "userId":"xxxxxx@aliyun.com",
- "launchTime":1466647411805,
- "prevState":"RUNNING",
- "hcUrl":"http://localhost:8080/serviceaa",
- "createTime":1466578207327,
- "phone":"150xxxxxxxx",
- "regionId":"cn-qingdao",
- "appId":"08208d49-f8c8-454a-99b6-98d4c63d262e",
- "name":"0622Provider",
- "id":"08208d49-f8c8-454a-99b6-98d4c63d262e",
- "state":"RUNNING",
- "targetBuildpackId":0,
- "email":"xxxxxx@aliyun.com"
- }
- }
示例
- Map<String,String> params = new HashMap<String,String>();
- params.put("AppId", "ece2940e-9e41-48d6-9c24-5fee7c49e166");
- String resp = edasApiClient.callApi(EdasApiAction.App.app_info.path(), params);
- System.out.println(resp);