diff --git a/specifications/git-connector/v1/git.yaml b/specifications/git-connector/v1/git.yaml index 11db8a2..c2d57b5 100755 --- a/specifications/git-connector/v1/git.yaml +++ b/specifications/git-connector/v1/git.yaml @@ -252,6 +252,44 @@ paths: responses: "200": description: OK + /drafts/{draftId}/exportJob: + get: + operationId: getDraftExportJob + tags: [Drafts] + parameters: + - name: draftId + in: path + required: true + schema: + type: string + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/DraftExportJob' + post: + operationId: exportDraft + tags: [Drafts] + parameters: + - name: draftId + in: path + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DraftExportJob' + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/DraftExportJob' /drafts/{draftId}/preparationJob: get: @@ -400,6 +438,14 @@ components: active: { type: boolean } errorMessage: { type: string } + DraftExportJob: + type: object + properties: + gitBranchName: { type: string } + modelixVersionHash: { type: string } + active: { type: boolean } + errorMessage: { type: string } + DraftPreparationJob: type: object properties: