Get a historical version of an alert rule

get/projects/{projectId}/alertRules/{alertRuleId}/history/{historyId}

Retrieves the project history versions of an alert rule.

Request Samples

Response Samples

1{
2 "projectId": "string",
3 "name": "string",
4 "description": "string",
5 "kpi": "string",
6 "severity": "string",
7 "operator": "string",
8 "value": 0,
9 "violations": 0,
10 "modelRole": "string",
11 "triggered": true,
12 "versionNum": 0,
13 "alertRuleId": "string",
14 "ruleCreationTimeStamp": "2019-08-24T14:15:22Z",
15 "ruleModifiedTimeStamp": "2019-08-24T14:15:22Z",
16 "ruleCreatedBy": "string"
17}

Path Parameters

NameTypeRequiredDescription
projectId
string
true

The ID of a project in the common model repository.

alertRuleId
string
true

The ID of an alert rule.

historyId
string
true

The ID of an alert rule historical version.

Responses

StatusMeaningDescription
200OK

The request succeeded.

Schema
404Not Found

The project id is not valid

Schema