Queries the historical events of an event rule.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
InstanceId | string | Yes | The ID of the instance. | cri-kmsiwlxxdcva**** |
EventType | string | No | The type of the event. Valid values:
| cr:Artifact:DeliveryChainCompleted |
RuleId | string | No | The ID of the event notification rule. | crecr-n6pbhgjxtla*** |
PageNo | integer | No | The number of the page to return. | 1 |
PageSize | integer | No | The number of entries to return on each page. | 30 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "665C7A5E-BAEC-5BCD-AF9F-5F9260D672BF",
"Code": "success",
"PageNo": 1,
"IsSuccess": true,
"PageSize": 30,
"TotalCount": 50,
"Records": [
{
"RecordId": "crecrr-ctdbzwtkpr*****",
"RuleId": "crecr-n6pbhgjxtla*****",
"InstanceId": "cri-gl34plsa****",
"RuleName": "chain-demo",
"Namespace": "mychain",
"RepoName": "ruby-2.4.0",
"Tag": "ruby-2.4.0",
"EventChannel": "EVENT_BRIDGE",
"EventType": "cr:Artifact:DeliveryChainCompleted",
"EventNotifyMethod": "http",
"EventNotifyId": "7d478419-61df-49e5-b92b-30ce730c2127",
"CreateTime": 1638188622000,
"UpdateTime": 1638188622000
}
]
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||
---|---|---|---|---|---|---|---|---|
2024-01-23 | The request parameters of the API has changed | see changesets | ||||||
|