获取应用下的分组 Tomcat 设置
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求头
该接口使用公共请求头,无特殊请求头。请参见公共请求参数文档。
请求语法
GET /pop/v5/app/container_config HTTPS|HTTP
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
AppId | String | 是 | 3616cdca-4f92-************** |
应用 ID。 |
GroupId | String | 否 | 8123db90-880f-************** |
分组 ID。
|
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
Code | Integer | 200 |
Code 码 |
ContainerConfiguration | Struct |
容器配置 |
|
ContextPath | String | / |
Tomcat 配置 contextpath,返回应用配置。 |
HttpPort | Integer | 8080 |
应用端口。返回设置的值和应用配置。 |
MaxThreads | Integer | 400 |
最大线程数,返回设置的值;
|
URIEncoding | String | ISO-8859-1 |
URI 编码方式,支持 ISO-8859-1、GBK、GB2312、UTF-8,返回设置的值。
|
UseBodyEncoding | Boolean | true |
useBodyEncodingForURI 是否启用,返回设置的值。
|
Message | String | success |
信息 |
RequestId | String | 34F8-FDG9-***************** |
示例
请求示例
GET /pop/v5/app/container_config HTTP/1.1
公共请求头
{
"AppId": ""
}
正常返回示例
XML
格式
<Message>success</Message>
<ContainerConfiguration>
<UseBodyEncoding>true</UseBodyEncoding>
<ContextPath>ROOT</ContextPath>
<MaxThreads>400</MaxThreads>
<HttpPort>8080</HttpPort>
<URIEncoding>ISO-8859-1</URIEncoding>
</ContainerConfiguration>
<Code>200</Code>
JSON
格式
{
"Message": "success",
"ContainerConfiguration": {
"UseBodyEncoding": true,
"ContextPath": "ROOT",
"MaxThreads": 400,
"HttpPort": 8080,
"URIEncoding": "ISO-8859-1"
},
"Code": 200
}
错误码
访问错误中心查看更多错误码。