Get project alert rules

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

Retrieves the alert rules for a specific project.

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 }
35 ]
36}

Path Parameters

NameTypeRequiredDescription
projectId
string
true

The ID of a project in the common model repository.

Query Parameters

NameTypeRequiredDescription
filter
string<string>
false

The criteria for filtering the performance task definitions. See Filtering in REST APIs.

limit
integer<int32>
false

The maximum number of performance tasks to return.

Default:
10
sortBy
string<sort-criteria>
false

The criteria for sorting the performance task definitions. See Sorting in REST APIs.

start
integer<int64>
false

The index of the first performance task to return.

Default:
0

Responses

StatusMeaningDescription
200OKThe request succeeded.Schema
400Bad RequestThe rule definition is not validSchema
404Not FoundThe project id is not validSchema