Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

DescriptionAdd a comment

URL

/api/reviews/add_comment

MethodPUT
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

DescriptionResolve a review

URL

/api/reviews/resolve

MethodPUT
Security

Requires User role on the project

...

Parameter

Description

Required

Default Value

id

Review id

Yes

None
resolutionCan be 'FIXED' or 'FALSE-POSITIVE'

Yes

None

comment

 

Yes

None

Reopen a Review

DescriptionReopen a review

URL

/api/reviews/reopen

MethodPUT
Security

Requires User role on the project

...