Queries the version of the component that is required when you create and deploy an application.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
GET /pop/v1/sam/resource/components HTTP/1.1
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| AppId | string | No | The application ID. | d700e680-aa4d-4ec1-afc2-6566b5ff**** |
| Type | string | Yes | The type of the supported components. Valid values:
| TOMCAT |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "91F93257-7A4A-4BD3-9A7E-2F6EAE6D****",
"Message": "success",
"TraceId": "0a98a02315955564772843261e****",
"Data": [
{
"Type": "JDK",
"ComponentKey": "Open JDK 8",
"ComponentDescription": "Open JDK 8",
"Expired": false
}
],
"ErrorCode": "",
"Code": 200,
"Success": true
}Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 400 | InvalidComponentType.NotFound | The specified Type does not exist. | The specified Type does not exist. |
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|
No change history
