From ed7245e36745dfea37edb5be7e915c802e2bec70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20K=C3=BCck?= Date: Wed, 16 Oct 2024 15:02:56 +0200 Subject: [PATCH] PMT-4: Define new endpoint --- api/pmt.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/api/pmt.yml b/api/pmt.yml index 3b22c8e..a354e49 100644 --- a/api/pmt.yml +++ b/api/pmt.yml @@ -171,3 +171,18 @@ paths: 500: $ref: "#/components/responses/InternalError" + /project/{id}/employee/{employeeId}: + post: + operationId: "addEmployee" + description: "Adds an employee to a specific Project" + parameters: + - in: path + name: id + responses: + 204: + description: "Employee successfully added to the specific Project" + 409: + $ref: "#/components/responses/Conflict" + 404: + $ref: "#/components/responses/NotFound" +