You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openAPIServeurEPA/paths/formation/formations.yaml

50 lines
1.3 KiB

get:
tags:
- formations
operationId: getFormations
4 years ago
description: Récupérer la liste des formations
parameters:
- $ref: ../../parameters/query/idAgence.yaml
- $ref: ../../parameters/query/idStatuts.yaml
- $ref: ../../parameters/query/asc.yaml
4 years ago
- $ref: ../../parameters/query/numPage.yaml
- $ref: ../../parameters/query/parPage.yaml
- $ref: ../../parameters/query/texte.yaml
- $ref: ../../parameters/query/tri.yaml
- $ref: ../../parameters/query/dateDebut.yaml
- $ref: ../../parameters/query/dateFin.yaml
responses:
'200':
4 years ago
$ref: ../../responses/formation/getListeFormations.yaml
'401':
$ref: ../../responses/erreur/unauthorized.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'500':
$ref: ../../responses/erreur/internalServerError.yaml
post:
tags:
- formations
operationId: ajouterFormation
4 years ago
description: Ajouter une nouvelle formation
requestBody:
$ref: ../../requestbodies/formation.yaml
responses:
'201':
4 years ago
$ref: ../../responses/formation/formationCreee.yaml
'401':
$ref: ../../responses/erreur/unauthorized.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'415':
$ref: ../../responses/erreur/unsupportedMediaType.yaml
'500':
$ref: ../../responses/erreur/internalServerError.yaml