documentation for get/index social issues api endpoint

This commit is contained in:
Julien Fastré 2021-05-18 19:13:30 +02:00
parent 2610730219
commit 30c53b17f7

View File

@ -178,6 +178,39 @@ components:
readOnly: true readOnly: true
paths: paths:
/1.0/person/social-work/social-issue.json:
get:
tags:
- social-issue
summary: Return a list of social work
responses:
200:
description: "ok"
/1.0/person/social-work/social-issue/{id}.json:
get:
tags:
- social-issue
summary: Return a social issue by id
parameters:
- name: id
in: path
required: true
description: The social issue's id
schema:
type: integer
format: integer
minimum: 1
responses:
200:
description: "ok"
content:
application/json:
schema:
$ref: '#/components/schemas/SocialIssue'
404:
description: "not found"
401:
description: "Unauthorized"
/1.0/person/accompanying-course/{id}.json: /1.0/person/accompanying-course/{id}.json:
get: get:
tags: tags: