openapi: implement reset from softlock
This commit is contained in:
parent
31f1db6446
commit
0b1e7085e3
34
openapi.yaml
34
openapi.yaml
@ -201,6 +201,23 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/Error"
|
$ref: "#/components/schemas/Error"
|
||||||
|
/submissions/{SubmissionID}/status/reset-validating:
|
||||||
|
post:
|
||||||
|
summary: Role Reviewer manually resets validating softlock and changes status from Validating -> Accepted
|
||||||
|
operationId: actionSubmissionAccepted
|
||||||
|
tags:
|
||||||
|
- Submissions
|
||||||
|
parameters:
|
||||||
|
- $ref: '#/components/parameters/SubmissionID'
|
||||||
|
responses:
|
||||||
|
"204":
|
||||||
|
description: Successful response
|
||||||
|
default:
|
||||||
|
description: General Error
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: "#/components/schemas/Error"
|
||||||
/submissions/{SubmissionID}/status/reject:
|
/submissions/{SubmissionID}/status/reject:
|
||||||
post:
|
post:
|
||||||
summary: Role Reviewer changes status from Submitted -> Rejected
|
summary: Role Reviewer changes status from Submitted -> Rejected
|
||||||
@ -252,6 +269,23 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/Error"
|
$ref: "#/components/schemas/Error"
|
||||||
|
/submissions/{SubmissionID}/status/reset-uploading:
|
||||||
|
post:
|
||||||
|
summary: Role Admin manually resets uploading softlock and changes status from Uploading -> Validated
|
||||||
|
operationId: actionSubmissionValidated
|
||||||
|
tags:
|
||||||
|
- Submissions
|
||||||
|
parameters:
|
||||||
|
- $ref: '#/components/parameters/SubmissionID'
|
||||||
|
responses:
|
||||||
|
"204":
|
||||||
|
description: Successful response
|
||||||
|
default:
|
||||||
|
description: General Error
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: "#/components/schemas/Error"
|
||||||
/release-submissions:
|
/release-submissions:
|
||||||
post:
|
post:
|
||||||
summary: Release a set of uploaded maps
|
summary: Release a set of uploaded maps
|
||||||
|
Loading…
x
Reference in New Issue
Block a user