openapi: prepare for map checks
This commit is contained in:
parent
99a082afb5
commit
6c865e8841
@ -65,6 +65,23 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/Error"
|
$ref: "#/components/schemas/Error"
|
||||||
|
/mapfixes/{MapfixID}/status/validator-submitted:
|
||||||
|
post:
|
||||||
|
summary: (Internal endpoint) Role Validator changes status from Submitting -> Submitted
|
||||||
|
operationId: actionMapfixSubmitted
|
||||||
|
tags:
|
||||||
|
- Mapfixes
|
||||||
|
parameters:
|
||||||
|
- $ref: '#/components/parameters/MapfixID'
|
||||||
|
responses:
|
||||||
|
"204":
|
||||||
|
description: Successful response
|
||||||
|
default:
|
||||||
|
description: General Error
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: "#/components/schemas/Error"
|
||||||
/mapfixes/{MapfixID}/status/validator-validated:
|
/mapfixes/{MapfixID}/status/validator-validated:
|
||||||
post:
|
post:
|
||||||
summary: (Internal endpoint) Role Validator changes status from Validating -> Validated
|
summary: (Internal endpoint) Role Validator changes status from Validating -> Validated
|
||||||
@ -203,6 +220,23 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/Error"
|
$ref: "#/components/schemas/Error"
|
||||||
|
/submissions/{SubmissionID}/status/validator-submitted:
|
||||||
|
post:
|
||||||
|
summary: (Internal endpoint) Role Validator changes status from Submitting -> Submitted
|
||||||
|
operationId: actionSubmissionSubmitted
|
||||||
|
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/validator-validated:
|
/submissions/{SubmissionID}/status/validator-validated:
|
||||||
post:
|
post:
|
||||||
summary: (Internal endpoint) Role Validator changes status from Validating -> Validated
|
summary: (Internal endpoint) Role Validator changes status from Validating -> Validated
|
||||||
|
46
openapi.yaml
46
openapi.yaml
@ -367,10 +367,27 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/Error"
|
$ref: "#/components/schemas/Error"
|
||||||
/mapfixes/{MapfixID}/status/submit:
|
/mapfixes/{MapfixID}/status/trigger-submit:
|
||||||
post:
|
post:
|
||||||
summary: Role Submitter changes status from UnderConstruction|ChangesRequested -> Submitted
|
summary: Role Submitter changes status from UnderConstruction|ChangesRequested -> Submitting
|
||||||
operationId: actionMapfixSubmit
|
operationId: actionMapfixTriggerSubmit
|
||||||
|
tags:
|
||||||
|
- Mapfixes
|
||||||
|
parameters:
|
||||||
|
- $ref: '#/components/parameters/MapfixID'
|
||||||
|
responses:
|
||||||
|
"204":
|
||||||
|
description: Successful response
|
||||||
|
default:
|
||||||
|
description: General Error
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: "#/components/schemas/Error"
|
||||||
|
/mapfixes/{MapfixID}/status/reset-submitting:
|
||||||
|
post:
|
||||||
|
summary: Role Submitter manually resets submitting softlock and changes status from Submitting -> UnderConstruction
|
||||||
|
operationId: actionMapfixResetSubmitting
|
||||||
tags:
|
tags:
|
||||||
- Mapfixes
|
- Mapfixes
|
||||||
parameters:
|
parameters:
|
||||||
@ -757,10 +774,27 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/Error"
|
$ref: "#/components/schemas/Error"
|
||||||
/submissions/{SubmissionID}/status/submit:
|
/submissions/{SubmissionID}/status/trigger-submit:
|
||||||
post:
|
post:
|
||||||
summary: Role Submitter changes status from UnderConstruction|ChangesRequested -> Submitted
|
summary: Role Submitter changes status from UnderConstruction|ChangesRequested -> Submitting
|
||||||
operationId: actionSubmissionSubmit
|
operationId: actionSubmissionTriggerSubmit
|
||||||
|
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/reset-submitting:
|
||||||
|
post:
|
||||||
|
summary: Role Submitter manually resets submitting softlock and changes status from Submitting -> UnderConstruction
|
||||||
|
operationId: actionSubmissionResetSubmitting
|
||||||
tags:
|
tags:
|
||||||
- Submissions
|
- Submissions
|
||||||
parameters:
|
parameters:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user