| Info | ||||
|---|---|---|---|---|
| ||||
|
Get a List of Profiles
| Description | Get a list of profiles |
URL | /api/profiles/list |
| HTTP Method | GET |
| Response Formats | json |
Security | None |
| Available since | Sonar 3.3 |
Examples
Use Case | Example Request |
|---|---|
Get all the profiles | |
| Get all the java profiles |
|
| Get all the profiles used by project org.codehaus.sonar:sonar |
|
| Get the java profile used by project org.codehaus.sonar:sonar |
|
Response Format
| Code Block | ||||
|---|---|---|---|---|
| ||||
[
{
"name":"Sonar way with Findbugs",
"language":"java",
"default":false
},
{
"name":"Sonar way",
"language":"java",
"default":false
},
...
] |
Parameters
Parameter | Description | Required | Default Value | Example Value |
|---|---|---|---|---|
language | Profile language | No | None | java |
project | Project key or id | No | None | org.codehaus.sonar:sonar |
| format | Response formats. Possible values: json | No | None | json |
Get Coding Rules Activated in a Quality Profile
...

