Get a historical version of an alert rule

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

Retrieves the project history versions of an alert rule.

Request Samples

1

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
alertRuleId
string
true

The ID of an alert rule.

historyId
string
true

The ID of an alert rule historical version.

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 validSchema