diff --git a/openapi.yaml b/openapi.yaml index f0a9863..0e3ceb8 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -247,6 +247,31 @@ paths: application/json: schema: $ref: "#/components/schemas/Error" + /release-submissions: + post: + summary: Release a set of uploaded maps + operationId: releaseSubmissions + tags: + - Submissions + requestBody: + required: true + content: + application/json: + schema: + type: array + minItems: 1 + maxItems: 255 + items: + $ref: '#/components/schemas/ReleaseInfo' + responses: + "201": + description: Successful response + default: + description: General Error + content: + application/json: + schema: + $ref: "#/components/schemas/Error" /script-policy: get: summary: Get list of script policies @@ -638,6 +663,18 @@ components: TargetAssetID: type: integer format: int64 + ReleaseInfo: + required: + - SubmissionID + - Date + type: object + properties: + SubmissionID: + type: integer + format: int64 + Date: + type: string + format: date-time Script: required: - ID