...
Parameter | Description | Required | Default Value | Example Value |
|---|---|---|---|---|
ids | List of review ids | No | None | 3245,3251 |
resources | Comma-separated list of resource ids or keys | No | None | org.codehaus.sonar:sonar-application:org.sonar.application.StartServer |
projects | Comma-separated list of root project ids or keys | No | None | org.codehaus.sonar:sonar |
statuses | Comma-separated list of status | No | None | OPEN,CLOSED |
resolutions | Comma-separated list of resolutions | No | None | FIXED,FALSE-POSTIVE |
severities | Comma-separated list of severities | No | None | BLOCKER,CRITICAL |
authors | Comma-separated list of author login | No | None | admin,simon.brandhof |
assignees | Comma-separated list of assignee login | No | None | admin,simon.brandhof |
review_type | Type of review | No | VIOLATION | VIOLATION,FALSE-POSITIVE |
output | Format of comments | No | PLAIN | HTML |
| format | Response format can be set through:
If nothing is set, json is used. | No | xml | json |
Notes
Results are limited to 200 reviews, ordered by creation date (most recent to oldest).
...
Parameter | Description | Required | Default Value | Example Value |
|---|---|---|---|---|
violation_id | Violation on which the review should be created | Yes | None | 123 |
status | Initial status (can be 'OPEN' or 'RESOLVED') | Yes | None | OPEN |
comment | Text of initial comment | NoYes | None | My comment |
resolution | If status 'RESOLVED', then resolution must be provided (can be 'FIXED' or 'FALSE-POSITIVE') | No | None | FIXED |
assignee | Login of initial assignee | No | None | simon.brandhof |
...
Parameter | Description | Required | Default Value | Example Value |
|---|---|---|---|---|
id | Review id | Yes | None | 345 |
| resolution | Can be 'FIXED' or 'FALSE-POSITIVE' | Yes | None | FIXED |
comment | Comment on the resolution | NoYes | None | My comment |
Reopen a Review
...
Parameter | Description | Required | Default Value | Example Value |
|---|---|---|---|---|
id | Review id | Yes | None | 345 |
comment | Comment on the reopen action | NoYes | None | My comment |

