From 662da800391d80576d1b1f32cf68988acd6291c6 Mon Sep 17 00:00:00 2001 From: LeoMoulin Date: Sat, 9 Dec 2023 12:17:31 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20des=20D=C3=A9sinscriptions=20R=C3=A9ins?= =?UTF-8?q?criptions=20et=20Demande=20de=20Bourses=20ainsi=20que=20des=20d?= =?UTF-8?q?emandes=20de=20dispenses?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plus que les endpoints a faire :) --- Documents/proto/general/openapi.yaml | 72 +++++++++++++++++++++++++++- 1 file changed, 71 insertions(+), 1 deletion(-) diff --git a/Documents/proto/general/openapi.yaml b/Documents/proto/general/openapi.yaml index 3c26c22..4e799d7 100644 --- a/Documents/proto/general/openapi.yaml +++ b/Documents/proto/general/openapi.yaml @@ -400,7 +400,27 @@ paths: schema: type: integer - + patch: + summary: Change the state of a register request + tags: + - RegisterRequests + security: + - bearer: [] + requestBody: + required: true + content: + application/x-www-form-urlencoded: + schema: + type: object + properties: + State: + type: string + responses: + '201': + description: State modified + '401': + $ref: '#/components/responses/UnauthorizedError' + /RegRequest: post : summary: Add a new student @@ -563,6 +583,56 @@ components: description : Follow the iso 8601 ("YYYY-MM-DD") State : type : string + + + ReRegRequest: + type : object + properties : + id : + type : integer + RegNo : + type : integer + NewCursusid : + type : integer + State : + type : string + + + SSRequests: + type : object + properties : + id : + type : integer + RegNo : + type : integer + Amount : + type : integer + Document : + type : string + description : justification document for a scholarship + + UnRegRequest : + type : object + properties : + id : + type : integer + RegNo : + type : integer + State : + type : string + + ExempRequest : + type : object + properties : + id: + type : integer + RegNo : + type : integer + Courseid : + type : integer + State : + type : string + responses: UnauthorizedError: