Queries the execution status of scripts in EdgeScript (ES).
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeEsExecuteData |
The operation that you want to perform. Set the value to DescribeEsExecuteData. |
EndTime | String | Yes | 2021-02-18T20:00:00Z |
The end of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC+0. Note The end time must be later than the start time.
|
RuleId | String | Yes | 212896** |
The ID of the script that you want to query. You can call the DescribeCdnDomainConfigs operation to query script IDs. |
StartTime | String | Yes | 2021-02-17T20:00:00Z |
The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC+0. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Contents | Array of Content |
The content of the script. |
|
Columns | List | time,Exception |
The column names of the chart that shows the status of the script and the time of each data entry. |
Name | String | Exception |
The name of the chart that shows the status of the script. |
Points | List | 2021-02-18T19:05:00Z,8 |
The value of each time and the column of each data entry. |
RequestId | String | 99D61AB3-6164-4CF2-A0DE-129C9B07618B |
The ID of the request. |
Examples
Sample requests
http(s)://cdn.aliyuncs.com/?Action=DescribeEsExecuteData
&EndTime=2021-02-18T20:00:00Z
&RuleId=212896**
&StartTime=2021-02-17T20:00:00Z
&<Common request parameters>
Sample success responses
XML
format
<DescribeEsExecuteDataResponse>
<Contents>
<Columns>time</Columns>
<Columns>Exception</Columns>
<Name>Exception</Name>
<Points>
<0>2021-02-18T19:07:00Z</0>
<1>6</1>
</Points>
<Points>
<0>2021-02-18T19:06:00Z</0>
<1>6</1>
</Points>
<Points>
<0>2021-02-18T19:05:00Z</0>
<1>8</1>
</Points>
</Contents>
<Contents>
<Columns>time</Columns>
<Columns>ExecutedAndHit</Columns>
<Name>ExecutedAndHit</Name>
<Points>
<0>2021-02-18T19:07:00Z</0>
<1>0</1>
</Points>
<Points>
<0>2021-02-18T19:06:00Z</0>
<1>0</1>
</Points>
<Points>
<0>2021-02-18T19:05:00Z</0>
<1>0</1>
</Points>
</Contents>
<RequestId>99D61AB3-6164-4CF2-A0DE-129C9B07618B</RequestId>
</DescribeEsExecuteDataResponse>
JSON
format
{
"Contents": [
{
"Columns": [
"time",
"Exception"
],
"Name": "Exception",
"Points": [
[
"2021-02-18T19:07:00Z",
6
],
[
"2021-02-18T19:06:00Z",
6
],
[
"2021-02-18T19:05:00Z",
8
]
]
},
{
"Columns": [
"time",
"ExecutedAndHit"
],
"Name": "ExecutedAndHit",
"Points": [
[
"2021-02-18T19:07:00Z",
0
],
[
"2021-02-18T19:06:00Z",
0
],
[
"2021-02-18T19:05:00Z",
0
]
]
}
],
"RequestId": "99D61AB3-6164-4CF2-A0DE-129C9B07618B"
}
Error codes
For a list of error codes, visit the API Error Center.