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

45 lines
1.0 KiB

get:
tags:
- formations
operationId: getFormations
description: recevoir la liste des formations
parameters:
- $ref: ../../parameters/query/idBu.yaml
- $ref: ../../parameters/query/idAgence.yaml
responses:
'200':
$ref: ../../responses/formation/getlisteformations.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
post:
tags:
- formations
operationId: ajouterFormation
description: ajouter une nouvelle formations
requestBody:
$ref: ../../requestbodies/formation.yaml
responses:
'201':
$ref: ../../responses/formation/creerFormation.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
put:
tags:
- formations
operationId: updateFormation
description: update une formation
requestBody:
$ref: ../../requestbodies/formation.yaml
responses:
'200':
$ref: ../../responses/formation/updateFormation.yaml
'201':
$ref: ../../responses/formation/creerFormation.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml