mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
endpoint created for acc periods by-person
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user