Add ability to modify workInProgress to PostReview
This adds workInProgress and ready to ReviewInput as optional boolean
fields.
Change-Id: I4563dceab6f947b87c0aa043120eb0c71e5505ce
diff --git a/Documentation/rest-api-changes.txt b/Documentation/rest-api-changes.txt
index d64054a..2e08146 100644
--- a/Documentation/rest-api-changes.txt
+++ b/Documentation/rest-api-changes.txt
@@ -3592,7 +3592,7 @@
--
Sets a review on a revision, optionally also publishing draft comments, setting
-labels, and adding reviewers or CCs.
+labels, adding reviewers or CCs, and modifying the work in progress property.
The review must be provided in the request body as a
link:#review-input[ReviewInput] entity.
@@ -6700,6 +6700,12 @@
|`reviewers` |optional|
A list of link:rest-api-changes.html#reviewer-input[ReviewerInput]
representing reviewers that should be added to the change.
+|`ready` |optional|
+If true, and if the change is work in progress, then start review.
+It is an error for both `ready` and `work_in_progress` to be true.
+|`work_in_progress` |optional|
+If true, mark the change as work in progress. It is an error for both
+`ready` and `work_in_progress` to be true.
|============================
[[review-result]]