调用GetContainerConfiguration接口获取应用或应用分组的Tomcat配置。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
AppId | string | 是 | 应用ID。 | 3616cdca-4f92-************** |
GroupId | string | 否 | 分组ID。
| 8123db90-880f-************** |
返回参数
示例
请求示例
GET /pop/v5/app/container_config?AppId=3616cdca-4f92-**************&GroupId=8123db90-880f-************** HTTP/1.1
Host:edas.aliyuncs.com
Content-Type:application/json
正常返回示例
JSON
格式
{
"Code": 200,
"Message": "success",
"RequestId": "34F8-FDG9-*****************",
"ContainerConfiguration": {
"HttpPort": 8080,
"ContextPath": "/",
"UseBodyEncoding": true,
"MaxThreads": 400,
"URIEncoding": "ISO-8859-1"
}
}
XML
格式
<GetContainerConfigurationResponse>
<Code>200</Code>
<Message>success</Message>
<RequestId>34F8-FDG9-*****************</RequestId>
<ContainerConfiguration>
<HttpPort>8080</HttpPort>
<ContextPath>/</ContextPath>
<UseBodyEncoding>true</UseBodyEncoding>
<MaxThreads>400</MaxThreads>
<URIEncoding>ISO-8859-1</URIEncoding>
</ContainerConfiguration>
</GetContainerConfigurationResponse>