Get project alert rules
get/projects/{projectId}/alertRules
Retrieves the alert rules for a specific project.
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": 034 }35 ]36}
Name | Type | Required | Description |
---|---|---|---|
projectId | string | true | The ID of a project in the common model repository. |
Name | Type | Required | Description |
---|---|---|---|
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 |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. | Schema | |
400 | Bad Request | The rule definition is not valid | Schema | |
404 | Not Found | The project id is not valid | Schema |