From 25f2d170974cbf6839cba20e5d52d871bd48f679 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Fri, 25 Jun 2021 21:34:36 +0200 Subject: [PATCH] documentation for api social actions --- .../ChillPersonBundle/chill.api.specs.yaml | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/src/Bundle/ChillPersonBundle/chill.api.specs.yaml b/src/Bundle/ChillPersonBundle/chill.api.specs.yaml index 0b02127d9..6c7f1ef62 100644 --- a/src/Bundle/ChillPersonBundle/chill.api.specs.yaml +++ b/src/Bundle/ChillPersonBundle/chill.api.specs.yaml @@ -1144,6 +1144,65 @@ paths: description: "Unprocessable entity (validation errors)" 400: description: "Bad Request" + + /1.0/person/social/social-action.json: + get: + tags: + - accompanying-course-work + summary: get a list of social action + responses: + 401: + description: "Unauthorized" + 200: + description: "OK" + + /1.0/person/social/social-action/{id}.json: + get: + tags: + - accompanying-course-work + parameters: + - name: id + in: path + required: true + description: The social action's id + schema: + type: integer + format: integer + minimum: 1 + responses: + 401: + description: "Unauthorized" + 404: + description: "Not found" + 200: + description: "OK" + 400: + description: "Bad Request" + + + /1.0/person/social/social-action/by-social-issue/{id}.json: + get: + tags: + - accompanying-course-work + parameters: + - name: id + in: path + required: true + description: The social action's id + schema: + type: integer + format: integer + minimum: 1 + responses: + 401: + description: "Unauthorized" + 404: + description: "Not found" + 200: + description: "OK" + 400: + description: "Bad Request" + /1.0/person/social-work/result.json: get: