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: