| Description | Get a list of rules |
URL | /api/rules |
| Method | GET |
Security | None |
Examples
Get all the java rules:
Get all the java rules from pmd and findbugs:
Parameters
Parameter | Description | Required | Default Value | Value |
|---|---|---|---|---|
language | Key of the language | No | None | java |
plugin | Comma-separated list of rules plugins | No | None | findbugs,pmd |
searchtext | To filter on rules containing a specified text in their name, key or title | No | None |
|
profile | When this parameter is defined, a node 'status' is added for each 'rule' node with values 'INACTIVE' or 'ACTIVE'. | No | None | Sonar%20way |
priorities | List of INACTIVE, ACTIVE, BLOCKER, CRITICAL, MAJOR, MINOR, INFO. | No | None |
|
| format | Response formats: xml or json or csv | No | xml |

