endpoint created for acc periods by-person

This commit is contained in:
2021-10-20 13:11:58 +02:00
parent 1b0c19a68f
commit 902c45f0cd
4 changed files with 61 additions and 5 deletions

View File

@@ -1058,6 +1058,29 @@ paths:
description: "OK"
400:
description: "transition cannot be applyed"
/1.0/person/accompanying-course/by-person/{person_id}.json:
get:
tags:
- accompanying period
summary: get a list of accompanying periods for a person
description: Returns a list of the current accompanying periods for a person
parameters:
- name: person_id
in: path
required: true
description: The person id
schema:
type: integer
format: integer
minimum: 1
responses:
401:
description: "Unauthorized"
404:
description: "Not found"
200:
description: "OK"
/1.0/person/accompanying-period/origin.json:
get: