documentation for api social actions

This commit is contained in:
Julien Fastré 2021-06-25 21:34:36 +02:00
parent 4fd43310c0
commit 25f2d17097

View File

@ -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: