GET /health_data/top_rules
Retrieves Top Rules in the system sorted by response count.
Retrieves Top Rules in the system sorted by response count
MIME Type |
---|
application/json |
Parameter | Type | Optionality | Data Type | MIME Type | Description |
---|---|---|---|---|---|
fields |
query |
Optional |
String |
text/plain |
Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas. |
Range |
header |
Optional |
String |
text/plain |
Optional - Use this parameter to restrict the number of elements that are returned in the list to a specified range. The list is indexed starting at zero. |
filter |
query |
Optional |
String |
text/plain |
Optional - This parameter is used to restrict the elements in a list base on the contents of various fields. |
HTTP Response Code | Unique Code | Description |
---|---|---|
200 |
The Top Rules were retrieved. |
|
403 |
1009 |
Access Forbidden for Non Admin users. |
422 |
1005 |
Unprocessable Entity. Invalid field, filter or Range parameter. |
Response Description
- rule_name - String - The rule name.
- rule_id - Int - The rule id.
- count - Long - The response count of the rule.
Response Sample
[
{
"count": 42,
"rule_id": 42,
"rule_name": "String"
}
]