Get Advisor Violations (Reserved)
Retrieve the list of violations for a specific advisor within an application.
This operation returns objects that violate the advisor’s rules from the latest advisor version. Results can be filtered by rule IDs and support pagination through query parameters.
URI
GET /rest/applications/{name}/advisors/{advisor}/violations
Path parameters
name (string)
This parameter identifies the analyzed application. The application name must be properly encoded if required. Character back-quote is not allowed.
advisor (integer)
The unique identifier for the advisor.
Query parameters
ruleId (string, multiple)
Optional. One or more rule identifiers to filter violations. This parameter can be specified multiple times to filter by multiple rules.
limit (integer)
Required. The maximum number of violations to return in the response. Used for pagination.
skip (integer)
Optional. The number of violations to skip before starting to return results. Used for pagination. Default value is 0.
Responses
application/json
Example:
{
"results": [
{
"id": "30282",
"name": "07680000",
"fullName": "07680000",
"type": "Assembler Call to Generic Program"
},
{
"id": "30288",
"name": "B0ASSTCK",
"fullName": "B0ASSTCK",
"type": "Assembler Program"
},
{
"id": "30290",
"name": "H1CMDTTM",
"fullName": "H1CMDTTM",
"type": "Assembler Program"
},
{
"id": "30291",
"name": "T8TTTRHX",
"fullName": "T8TTTRHX",
"type": "Assembler Program"
},
{
"id": "30296",
"name": "T8TTSTCK",
"fullName": "T8TTSTCK",
"type": "Assembler Program"
},
{
"id": "30297",
"name": "06290000",
"fullName": "06290000",
"type": "Assembler Call to Generic Program"
},
{
"id": "30300",
"name": "A0CMSTCK",
"fullName": "A0CMSTCK",
"type": "Assembler Program"
},
{
"id": "30302",
"name": "T7TTTRPR",
"fullName": "T7TTTRPR",
"type": "Assembler Program"
},
{
"id": "30303",
"name": "T7PDTSRT",
"fullName": "T7PDTSRT",
"type": "Assembler Program"
}
],
"limit": 9,
"skip": 9,
"total": 3806
}
JSON representation
| Property | Type | Description |
|---|---|---|
| results | array | Array of object violation records. |
| results[].id | string | The unique identifier for the object. |
| results[].name | string | The name of the object that violates the rule(s). |
| results[].fullName | string | The full name of the object. |
| results[].type | string | The type of the object (e.g., “Assembler Program”). |
| limit | number | The maximum number of results returned (matches query parameter). |
| skip | number | The number of results skipped (matches query parameter). |
| total | number | The total number of violations available for this advisor. |