openapi: change patch to post
This commit is contained in:
parent
3cc1c8a5d9
commit
7aaa89b69b
28
openapi.yaml
28
openapi.yaml
@ -98,9 +98,9 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/Error"
|
$ref: "#/components/schemas/Error"
|
||||||
/submissions/{SubmissionID}/model:
|
/submissions/{SubmissionID}/model:
|
||||||
patch:
|
post:
|
||||||
summary: Update model following role restrictions
|
summary: Update model following role restrictions
|
||||||
operationId: patchSubmissionModel
|
operationId: updateSubmissionModel
|
||||||
tags:
|
tags:
|
||||||
- Submissions
|
- Submissions
|
||||||
parameters:
|
parameters:
|
||||||
@ -132,9 +132,9 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/Error"
|
$ref: "#/components/schemas/Error"
|
||||||
/submissions/{SubmissionID}/completed:
|
/submissions/{SubmissionID}/completed:
|
||||||
patch:
|
post:
|
||||||
summary: Retrieve map with ID
|
summary: Retrieve map with ID
|
||||||
operationId: patchSubmissionCompleted
|
operationId: setSubmissionCompleted
|
||||||
tags:
|
tags:
|
||||||
- Submissions
|
- Submissions
|
||||||
parameters:
|
parameters:
|
||||||
@ -154,7 +154,7 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/Error"
|
$ref: "#/components/schemas/Error"
|
||||||
/submissions/{SubmissionID}/status/submit:
|
/submissions/{SubmissionID}/status/submit:
|
||||||
patch:
|
post:
|
||||||
summary: Role Submitter changes status from UnderConstruction|ChangesRequested -> Submitted
|
summary: Role Submitter changes status from UnderConstruction|ChangesRequested -> Submitted
|
||||||
operationId: actionSubmissionSubmit
|
operationId: actionSubmissionSubmit
|
||||||
tags:
|
tags:
|
||||||
@ -176,7 +176,7 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/Error"
|
$ref: "#/components/schemas/Error"
|
||||||
/submissions/{SubmissionID}/status/revoke:
|
/submissions/{SubmissionID}/status/revoke:
|
||||||
patch:
|
post:
|
||||||
summary: Role Submitter changes status from Submitted|ChangesRequested -> UnderConstruction
|
summary: Role Submitter changes status from Submitted|ChangesRequested -> UnderConstruction
|
||||||
operationId: actionSubmissionRevoke
|
operationId: actionSubmissionRevoke
|
||||||
tags:
|
tags:
|
||||||
@ -198,7 +198,7 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/Error"
|
$ref: "#/components/schemas/Error"
|
||||||
/submissions/{SubmissionID}/status/trigger-validate:
|
/submissions/{SubmissionID}/status/trigger-validate:
|
||||||
patch:
|
post:
|
||||||
summary: Role Reviewer triggers validation and changes status from Submitted|Accepted -> Validating
|
summary: Role Reviewer triggers validation and changes status from Submitted|Accepted -> Validating
|
||||||
operationId: actionSubmissionTriggerValidate
|
operationId: actionSubmissionTriggerValidate
|
||||||
tags:
|
tags:
|
||||||
@ -220,7 +220,7 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/Error"
|
$ref: "#/components/schemas/Error"
|
||||||
/submissions/{SubmissionID}/status/reject:
|
/submissions/{SubmissionID}/status/reject:
|
||||||
patch:
|
post:
|
||||||
summary: Role Reviewer changes status from Submitted -> Rejected
|
summary: Role Reviewer changes status from Submitted -> Rejected
|
||||||
operationId: actionSubmissionReject
|
operationId: actionSubmissionReject
|
||||||
tags:
|
tags:
|
||||||
@ -242,7 +242,7 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/Error"
|
$ref: "#/components/schemas/Error"
|
||||||
/submissions/{SubmissionID}/status/request-changes:
|
/submissions/{SubmissionID}/status/request-changes:
|
||||||
patch:
|
post:
|
||||||
summary: Role Reviewer changes status from Validated|Accepted|Submitted -> ChangesRequested
|
summary: Role Reviewer changes status from Validated|Accepted|Submitted -> ChangesRequested
|
||||||
operationId: actionSubmissionRequestChanges
|
operationId: actionSubmissionRequestChanges
|
||||||
tags:
|
tags:
|
||||||
@ -264,7 +264,7 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/Error"
|
$ref: "#/components/schemas/Error"
|
||||||
/submissions/{SubmissionID}/status/validate:
|
/submissions/{SubmissionID}/status/validate:
|
||||||
patch:
|
post:
|
||||||
summary: Role Validator changes status from Validating -> Validated
|
summary: Role Validator changes status from Validating -> Validated
|
||||||
operationId: actionSubmissionValidate
|
operationId: actionSubmissionValidate
|
||||||
tags:
|
tags:
|
||||||
@ -286,7 +286,7 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/Error"
|
$ref: "#/components/schemas/Error"
|
||||||
/submissions/{SubmissionID}/status/publish:
|
/submissions/{SubmissionID}/status/publish:
|
||||||
patch:
|
post:
|
||||||
summary: Role Validator changes status from Publishing -> Published
|
summary: Role Validator changes status from Publishing -> Published
|
||||||
operationId: actionSubmissionPublish
|
operationId: actionSubmissionPublish
|
||||||
tags:
|
tags:
|
||||||
@ -308,7 +308,7 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/Error"
|
$ref: "#/components/schemas/Error"
|
||||||
/submissions/{SubmissionID}/status/trigger-publish:
|
/submissions/{SubmissionID}/status/trigger-publish:
|
||||||
patch:
|
post:
|
||||||
summary: Role Admin changes status from Validated -> Publishing
|
summary: Role Admin changes status from Validated -> Publishing
|
||||||
operationId: actionSubmissionTriggerPublish
|
operationId: actionSubmissionTriggerPublish
|
||||||
tags:
|
tags:
|
||||||
@ -407,7 +407,7 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/Error"
|
$ref: "#/components/schemas/Error"
|
||||||
patch:
|
post:
|
||||||
summary: Update the specified script policy by ID
|
summary: Update the specified script policy by ID
|
||||||
operationId: updateScriptPolicy
|
operationId: updateScriptPolicy
|
||||||
tags:
|
tags:
|
||||||
@ -506,7 +506,7 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/Error"
|
$ref: "#/components/schemas/Error"
|
||||||
patch:
|
post:
|
||||||
summary: Update the specified script by ID
|
summary: Update the specified script by ID
|
||||||
operationId: updateScript
|
operationId: updateScript
|
||||||
tags:
|
tags:
|
||||||
|
Loading…
Reference in New Issue
Block a user