Queries the Tomcat configuration of an application or an instance group in which an application is deployed.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:ReadApplication |
get |
*Application
|
None | None |
Request syntax
GET /pop/v5/app/container_config HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The ID of the application. |
3616cdca-4f92-************** |
| GroupId |
string |
No |
The ID of the instance group.
|
8123db90-880f-************** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
integer |
The HTTP status code that is returned. |
200 |
| Message |
string |
The message returned for the request. |
success |
| RequestId |
string |
The ID of the request. |
34F8-FDG9-***************** |
| ContainerConfiguration |
object |
The Tomcat configuration. |
|
| HttpPort |
integer |
The application port number for the Tomcat container. The value specified in the application configuration is returned. |
8080 |
| ContextPath |
string |
The context path of the Tomcat container. |
/ |
| UseBodyEncoding |
boolean |
Indicates whether useBodyEncodingForURI is enabled in the Tomcat container.
|
true |
| MaxThreads |
integer |
The maximum number of threads in the Tomcat container.
|
400 |
| URIEncoding |
string |
The Uniform Resource Identifier (URI) encoding scheme. Valid values: ISO-8859-1, GBK, GB2312, and UTF-8.
|
ISO-8859-1 |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "success",
"RequestId": "34F8-FDG9-*****************",
"ContainerConfiguration": {
"HttpPort": 8080,
"ContextPath": "/",
"UseBodyEncoding": true,
"MaxThreads": 400,
"URIEncoding": "ISO-8859-1"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.