...
Parameter | Description | Required | Default Value |
|---|---|---|---|
violation_id | Violation on which the review should be created | Yes | None |
status | Initial status (can be 'OPEN' or 'RESOLVED') | Yes | None |
comment | Text of initial comment | Yes | None |
resolution | If status 'RESOLVED', then resolution must be provided (can be 'FIXED' or 'FALSE-POSITIVE') | No | None |
assignee | Login of initial assignee | No | None |
Add a Comment on a Review
| Description | Add a comment |
URL | /api/reviews/add_comment |
| Method | PUT |
| Security | Requires User role on the project |
...
Parameter | Description | Required | Default Value |
|---|---|---|---|
id | Review id | Yes | None |
assignee | Login of new assignee | Yes | None |
Resolve a Review
| Description | Resolve a review |
URL | /api/reviews/resolve |
| Method | PUT |
| Security | Requires User role on the project |
...
Parameter | Description | Required | Default Value |
|---|---|---|---|
id | Review id | Yes | None |
| resolution | Can be 'FIXED' or 'FALSE-POSITIVE' | Yes | None |
comment |
| Yes | None |
Reopen a Review
| Description | Reopen a review |
URL | /api/reviews/reopen |
| Method | PUT |
| Security | Requires User role on the project |
...

