Queries the root technology stacks such as PHP of the runtime environments for applications in Enterprise Distributed Application Service (EDAS).
Debugging
Request headers
This operation uses only the common request header. For more information, see Common request parameters.
Request syntax
GET /pop/v5/s2i/list_root_stack HTTP/1.1
Request parameters
Parameter | Type | Position | Required | Example | Description |
---|---|---|---|---|---|
CurrentPage | Integer | Query | No | 1 |
The number of the page to return. Pages start from page 1. Default value: 1. |
PageSize | Integer | Query | No | 20 |
The number of entries to return on each page. Default value: 20. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Code | Integer | 200 |
The HTTP status code. |
Data | Struct |
The details about the technology stacks. |
|
CurrentPage | Integer | 1 |
The page number of the returned page. |
PageSize | Integer | 20 |
The number of entries returned per page. |
Result | Array of RootStack |
The data returned for the request. |
|
Children | Array of ChildStack |
The direct child technology stacks of the current root technology stack. |
|
Comment | String | Other PHP applications that run on Apache HTTP Server. |
The description of the child technology stack. |
Icon | String | https://img.alicdn.com/tfs/****-711-383.svg |
The icon of the child technology stack. |
Id | Long | 10001 |
The ID of the child technology stack. |
Name | String | PHP |
The name of the child technology stack. |
Root | Struct |
The root technology stacks. |
|
Id | Long | 10000 |
The ID of the root technology stack. |
Name | String | PHP |
The name of the root technology stack. |
TotalSize | Integer | 1 |
The total number of pages returned. |
Message | String | success |
The returned message. |
RequestId | String | CDA95E20-BA27-443C-AF94-E63E06BDBAFD |
The ID of the request. |
Examples
Sample requests
GET /pop/v5/s2i/list_root_stack HTTP/1.1
Common request header
Sample success responses
XML
format
<RequestId>F302C5A7-9FB5-4F75-8343-A458E990B1EE</RequestId>
<Message>success</Message>
<Data>
<PageSize>20</PageSize>
<CurrentPage>1</CurrentPage>
<TotalSize>1</TotalSize>
<Result>
<Root>
<Id>10000</Id>
<Name>PHP</Name>
</Root>
<Children>
<Comment>Other PHP applications that run on Apache HTTP Server.</Comment>
<Id>10001</Id>
<Icon>https://img.alicdn.com/tfs/****-711-383.svg</Icon>
<Name>PHP</Name>
</Children>
</Result>
</Data>
<Code>200</Code>
JSON
format
{
"RequestId": "F302C5A7-9FB5-4F75-8343-A458E990B1EE",
"Message": "success",
"Data": {
"PageSize": 20,
"CurrentPage": 1,
"TotalSize": 1,
"Result": [
{
"Root": {
"Id": 10000,
"Name": "PHP"
},
"Children": [
{
"Comment": "Other PHP applications that run on Apache HTTP Server.",
"Id": 10001,
"Icon": "https://img.alicdn.com/tfs/****-711-383.svg",
"Name": "PHP"
}
]
}
]
},
"Code": 200
}
Error codes
For a list of error codes, visit the API Error Center.