status action template
This commit is contained in:
parent
6f4df29d2e
commit
b085b244fe
12
openapi.yaml
12
openapi.yaml
@ -151,10 +151,10 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/Error"
|
$ref: "#/components/schemas/Error"
|
||||||
/submissions/{SubmissionID}/status:
|
/submissions/{SubmissionID}/status/submit:
|
||||||
patch:
|
patch:
|
||||||
summary: Update status following role restrictions
|
summary: Role Submitter changes status from UnderConstruction|ChangesRequested -> Submitted
|
||||||
operationId: patchSubmissionStatus
|
operationId: actionSubmissionSubmit
|
||||||
tags:
|
tags:
|
||||||
- Submissions
|
- Submissions
|
||||||
parameters:
|
parameters:
|
||||||
@ -164,12 +164,6 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
format: int64
|
format: int64
|
||||||
- name: Status
|
|
||||||
in: query
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
format: int32
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
|
Loading…
Reference in New Issue
Block a user