根据应用名称获取应用信息
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| app_name | String | 必须 | xxxxx | 应用名称 | |
| supplyments | String | 可选 | xxxxx | supplyments |
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| object | ApplicationExtSingleNode | applicationExtSingleNode | |
|
|||
| successful | Boolean | true | 是否成功 |
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAoneAppcenterAppinfoGetbynameRequest req = new AlibabaAoneAppcenterAppinfoGetbynameRequest();
req.setAppName("xxxxx");
req.setSupplyments("xxxxx");
AlibabaAoneAppcenterAppinfoGetbynameResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
<alibaba_aone_appcenter_appinfo_getbyname_response>
<object>
<aone_id>111</aone_id>
<product_line>CTO线/研发效能</product_line>
<product_fullline>集团/CTO线/研发效能/基础</product_fullline>
<product_fullline_id>24327_24330_24332</product_fullline_id>
<product>基础</product>
<bu_group>集团</bu_group>
<bu_id>3</bu_id>
<build_sys>aone2015</build_sys>
<deploy_container_type>alidocker</deploy_container_type>
<is_with_state>0</is_with_state>
<region_id>1</region_id>
<deploy_way>normal</deploy_way>
<id>111</id>
<name>111</name>
<product_id>111</product_id>
<app_type>developmentApp</app_type>
<gmt_create>1445933926000</gmt_create>
<level>GRADE1</level>
<data_secure_level>L1</data_secure_level>
<fin_secure_level>L1</fin_secure_level>
<status>ONLINE</status>
<devloy_type>aol</devloy_type>
<description>应用的统一管理入口</description>
<test_t_l>
<json_user>
<buc_id>111</buc_id>
<emp_id>111</emp_id>
<email_addr>aaa@alibaba-inc.com</email_addr>
<email_prefix>aaa</email_prefix>
<first_name>aaa</first_name>
</json_user>
</test_t_l>
<dev_t_l>
<json_user>
<buc_id>111</buc_id>
<emp_id>111</emp_id>
<email_addr>aaa@alibaba-inc.com</email_addr>
<email_prefix>aaa</email_prefix>
<first_name>aaa</first_name>
</json_user>
</dev_t_l>
<owner>
<json_user>
<buc_id>111</buc_id>
<emp_id>111</emp_id>
<email_addr>aaa@alibaba-inc.com</email_addr>
<email_prefix>aaa</email_prefix>
<first_name>aaa</first_name>
</json_user>
</owner>
<pe>
<json_user>
<buc_id>111</buc_id>
<emp_id>111</emp_id>
<email_addr>aaa@alibaba-inc.com</email_addr>
<email_prefix>aaa</email_prefix>
<first_name>aaa</first_name>
</json_user>
</pe>
<appops>
<json_user>
<buc_id>111</buc_id>
<emp_id>111</emp_id>
<email_addr>aaa@alibaba-inc.com</email_addr>
<email_prefix>aaa</email_prefix>
<first_name>aaa</first_name>
</json_user>
</appops>
<config_admin>
<json_user>
<buc_id>111</buc_id>
<emp_id>111</emp_id>
<email_addr>aaa@alibaba-inc.com</email_addr>
<email_prefix>aaa</email_prefix>
<first_name>aaa</first_name>
</json_user>
</config_admin>
</object>
<successful>true</successful>
</alibaba_aone_appcenter_appinfo_getbyname_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|