Get alert rule history

get/projects/{projectId}/alertRules/{alertRuleId}/history
Internal-Use Only

Retrieves the project history for an alert rule.

Request Samples

1

Response Samples

1{
2 "name": "string",
3 "start": 0,
4 "limit": 0,
5 "count": 0,
6 "accept": "string",
7 "links": [
8 {
9 "method": "string",
10 "rel": "string",
11 "uri": "string",
12 "href": "string",
13 "title": "string",
14 "type": "string",
15 "itemType": "string",
16 "responseType": "string",
17 "responseItemType": "string"
18 }
19 ],
20 "version": 0,
21 "items": [
22 {
23 "projectId": "string",
24 "name": "string",
25 "description": "string",
26 "kpi": "string",
27 "severity": "string",
28 "operator": "string",
29 "value": 0,
30 "violations": 0,
31 "modelRole": "string",
32 "triggered": true,
33 "versionNum": 0,
34 "alertRuleId": "string",
35 "ruleCreationTimeStamp": "2019-08-24T14:15:22Z",
36 "ruleModifiedTimeStamp": "2019-08-24T14:15:22Z",
37 "ruleCreatedBy": "string"
38 }
39 ]
40}

Path Parameters

NameTypeRequiredDescription
alertRuleId
string
true

The ID of an alert rule.

projectId
string
true

The ID of a project in the common model repository.

Responses

StatusMeaningDescription
200OKThe request succeeded.Schema
404Not FoundThe project ID is not valid.Schema