Queries the traffic sequences and their details for the current site.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
Yes |
The site ID. You can obtain the site ID by calling the ListSites operation. |
123456**** |
| SiteVersion |
integer |
No |
The version number of the site. After version management is enabled for the site, you can specify a site version number to obtain the traffic sequence information of the corresponding version. The default version is 0. If version management is not enabled for the site, you do not need to specify this parameter. |
0 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
04F0F334-1335-436C-A1D7-6C044FE73368 |
| TrafficSequences |
array<object> |
The traffic sequences of the site. |
|
|
array<object> |
The traffic sequence details. |
||
| SequenceName |
string |
The sequence name. |
DDOS |
| SequenceCode |
string |
The sequence code. |
ddos |
| Order |
string |
The order of the current sequence in the entire traffic sequence. |
1 |
| Router |
string |
The traffic sequence routing. |
/safe/ddos/basic |
| FunctionList |
array<object> |
The list of site features associated with the traffic sequence. |
|
|
array<object> |
The details of the site feature associated with the traffic sequence. |
||
| FunctionName |
string |
redirect_rules |
|
| HasConfig |
boolean |
true |
|
| Configs |
array<object> |
||
|
object |
|||
| ConfigId |
integer |
480339095269376 |
|
| ConfigType |
string |
global |
Examples
Success response
JSON format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368",
"TrafficSequences": [
{
"SequenceName": "DDOS",
"SequenceCode": "ddos",
"Order": "1",
"Router": "/safe/ddos/basic",
"FunctionList": [
{
"FunctionName": "redirect_rules",
"HasConfig": true,
"Configs": [
{
"ConfigId": 480339095269376,
"ConfigType": "global"
}
]
}
]
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | The specified parameter is invalid. |
| 403 | Site.NotExist | The specified website does not exist or is not recognized by the system.Check whether the specified website identifier is valid and matches a website that is active, defined, and recognized by the system.If you want to add a new website, make sure that the creation and registration process is complete to integrate the website to the system. | The specified website does not exist or is not recognized by the system.Check whether the specified website identifier is valid and matches a website that is active, defined, and recognized by the system.If you want to add a new website, make sure that the creation and registration process is complete to integrate the website to the system. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.