From e51abac1083e64803c15c69cf2f61d2816444f66 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Mon, 25 Nov 2024 21:57:19 -0800 Subject: [PATCH] random stuff kinda crap --- openapi.yaml | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) diff --git a/openapi.yaml b/openapi.yaml index 1704e67..2aba93e 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -95,6 +95,95 @@ paths: application/json: schema: $ref: "#/components/schemas/Error" + /submissions/{SubmissionID}/model: + patch: + summary: Update model following role restrictions + operationId: patchSubmissionModel + tags: + - Submissions + parameters: + - name: SubmissionID + in: path + required: true + schema: + type: integer + format: int64 + - name: ModelID + in: query + required: true + schema: + type: integer + format: int64 + - name: VersionID + in: query + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Successful response + default: + description: General Error + content: + application/json: + schema: + $ref: "#/components/schemas/Error" + /submissions/{SubmissionID}/completed: + patch: + summary: Retrieve map with ID + operationId: patchSubmissionCompleted + tags: + - Submissions + parameters: + - name: SubmissionID + in: path + required: true + schema: + type: integer + format: int64 + - name: Completed + in: query + required: true + schema: + type: bool + responses: + "200": + description: Successful response + default: + description: General Error + content: + application/json: + schema: + $ref: "#/components/schemas/Error" + /submissions/{SubmissionID}/status: + patch: + summary: Update status following role restrictions + operationId: patchSubmissionStatus + tags: + - Submissions + parameters: + - name: SubmissionID + in: path + required: true + schema: + type: integer + format: int64 + - name: Status + in: query + required: true + schema: + type: integer + format: int32 + responses: + "200": + description: Successful response + default: + description: General Error + content: + application/json: + schema: + $ref: "#/components/schemas/Error" components: schemas: User: