parent
0d656921d9
commit
1052997875
@ -1,15 +0,0 @@ |
||||
put: |
||||
tags: |
||||
- engagements |
||||
operationId: repondreEngagement |
||||
description: Donnez une réponse à un engagement |
||||
parameters: |
||||
- $ref: ../../parameters/path/idEngagement.yaml |
||||
requestBody: |
||||
$ref: ../../requestbodies/engagement.yaml |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/engagement/reponseEngagement.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
@ -0,0 +1,26 @@ |
||||
get: |
||||
tags: |
||||
- engagements |
||||
operationId: getEngagementsCount |
||||
description: Récupérer le nombre total d’engagements. |
||||
parameters: |
||||
- $ref: ../../parameters/query/etatsEngagement.yaml |
||||
- $ref: ../../parameters/query/idBUs.yaml |
||||
- $ref: ../../parameters/query/asc.yaml |
||||
- $ref: ../../parameters/query/numPage.yaml |
||||
- $ref: ../../parameters/query/parPage.yaml |
||||
- $ref: ../../parameters/query/texte.yaml |
||||
- $ref: ../../parameters/query/tri.yaml |
||||
|
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/engagement/getCountEngagement.yaml |
||||
|
||||
'401': |
||||
$ref: ../../responses/erreur/unauthorized.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
||||
|
||||
'500': |
||||
$ref: ../../responses/erreur/internalServerError.yaml |
@ -1,19 +0,0 @@ |
||||
get: |
||||
tags: |
||||
- engagements |
||||
operationId: getEngagementsEnAttente |
||||
description: Récupérer la liste des engagements en attente |
||||
parameters: |
||||
- $ref: ../../parameters/query/asc.yaml |
||||
- $ref: ../../parameters/query/idAgence.yaml |
||||
- $ref: ../../parameters/query/numPage.yaml |
||||
- $ref: ../../parameters/query/parPage.yaml |
||||
- $ref: ../../parameters/query/texte.yaml |
||||
- $ref: ../../parameters/query/tri.yaml |
||||
|
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/engagement/getListeEngagements.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
@ -0,0 +1,27 @@ |
||||
put: |
||||
tags: |
||||
- engagements |
||||
operationId: updateEngagement |
||||
description: Répondre à un engagement. |
||||
parameters: |
||||
- $ref: ../../parameters/path/idEngagement.yaml |
||||
requestBody: |
||||
$ref: ../../requestbodies/engagement.yaml |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/engagement/updateEngagement.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 |
@ -1,19 +0,0 @@ |
||||
get: |
||||
tags: |
||||
- engagements |
||||
operationId: getEngagementsRepondus |
||||
description: Récupérer la liste des engagements ayant reçu une réponse |
||||
parameters: |
||||
- $ref: ../../parameters/query/asc.yaml |
||||
- $ref: ../../parameters/query/idAgence.yaml |
||||
- $ref: ../../parameters/query/numPage.yaml |
||||
- $ref: ../../parameters/query/parPage.yaml |
||||
- $ref: ../../parameters/query/texte.yaml |
||||
- $ref: ../../parameters/query/tri.yaml |
||||
|
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/engagement/getListeEngagements.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
@ -0,0 +1,7 @@ |
||||
description: OK |
||||
content: |
||||
application/json: |
||||
schema: |
||||
type: integer |
||||
format: int64 |
||||
description: Nombre total d'engagements |
@ -1,5 +0,0 @@ |
||||
description: OK |
||||
content: |
||||
application/json: |
||||
schema: |
||||
$ref: ../../schemas/ep/engagement.yaml |
@ -1 +0,0 @@ |
||||
description: Engagement mise à jour |
@ -0,0 +1,5 @@ |
||||
description: Engagement modifié avec succès |
||||
content: |
||||
application/json: |
||||
schema: |
||||
$ref: ../../schemas/ep/engagement.yaml |
Loading…
Reference in new issue