Let reviews be stopped, and fail stuck reviewers automatically
This commit is contained in:
@@ -694,6 +694,21 @@ paths:
|
||||
"400": { $ref: "#/components/responses/Error" }
|
||||
"404": { $ref: "#/components/responses/Error" }
|
||||
|
||||
/api/reviews/{reviewId}/stop:
|
||||
parameters:
|
||||
- { name: reviewId, in: path, required: true, schema: { type: string } }
|
||||
post:
|
||||
operationId: stopReview
|
||||
description: Ends a running review's reviewer and records the review as failed. Refused unless the review is running.
|
||||
responses:
|
||||
"200":
|
||||
description: The review.
|
||||
content:
|
||||
application/json:
|
||||
schema: { $ref: "#/components/schemas/Review" }
|
||||
"404": { $ref: "#/components/responses/Error" }
|
||||
"409": { $ref: "#/components/responses/Error" }
|
||||
|
||||
/api/tasks/{taskId}/snapshots/{n}/fork:
|
||||
parameters:
|
||||
- { name: taskId, in: path, required: true, schema: { type: string } }
|
||||
|
||||
Reference in New Issue
Block a user