status action template

This commit is contained in:
Quaternions 2024-11-27 17:44:20 -08:00
parent 6f4df29d2e
commit b085b244fe

View File

@ -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