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/ep/epIdEp.yaml

72 lines
1.6 KiB

get:
tags:
- ep
operationId: getEPById
description: Récupérer un EP par son id.
parameters:
- $ref: ../../parameters/path/idEP.yaml
responses:
'200':
$ref: ../../responses/ep/getEP.yaml
'401':
$ref: ../../responses/erreur/unauthorized.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml
'500':
$ref: ../../responses/erreur/internalServerError.yaml
put:
tags:
- ep
operationId: updateEP
description: Mettre à jour les informations d’un EP.
parameters:
- $ref: ../../parameters/path/idEP.yaml
requestBody:
$ref: ../../requestbodies/ep.yaml
responses:
'200':
$ref: ../../responses/ep/updateEP.yaml
'401':
$ref: ../../responses/erreur/unauthorized.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml
'415':
$ref: ../../responses/erreur/unsupportedMediaType.yaml
'500':
$ref: ../../responses/erreur/internalServerError.yaml
delete:
tags:
- ep
operationId: deleteEP
description: Annuler/Supprimer un EP d’un collaborateur.
parameters:
- $ref: ../../parameters/path/idEP.yaml
responses:
'204':
$ref: ../../responses/ep/deleteEp.yaml
'401':
$ref: ../../responses/erreur/unauthorized.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml
'500':
$ref: ../../responses/erreur/internalServerError.yaml