salutcesmoileo #4
@ -400,7 +400,27 @@ paths:
 | 
				
			|||||||
        schema:
 | 
					        schema:
 | 
				
			||||||
          type: integer
 | 
					          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:
 | 
					  /RegRequest:
 | 
				
			||||||
    post : 
 | 
					    post : 
 | 
				
			||||||
      summary: Add a new student
 | 
					      summary: Add a new student
 | 
				
			||||||
@ -563,6 +583,56 @@ components:
 | 
				
			|||||||
            description : Follow the iso 8601 ("YYYY-MM-DD")
 | 
					            description : Follow the iso 8601 ("YYYY-MM-DD")
 | 
				
			||||||
          State : 
 | 
					          State : 
 | 
				
			||||||
            type : string
 | 
					            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:
 | 
					  responses:
 | 
				
			||||||
    UnauthorizedError:
 | 
					    UnauthorizedError:
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user
	
je ne sais pas si c'est l'intention, mais tu n'as pas la possibilité de faire un fetch de toutes les requests.
le plus simple est de changer l'endpoint à
/Requestset le paramètre tu peux le mettre à
in: query. enrequired: false