mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
swagger person: adding origin routes
This commit is contained in:
parent
b5760e82ea
commit
d8256b0ac5
@ -958,6 +958,41 @@ paths:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/1.0/person/accompanying-period/origin.json:
|
||||||
|
get:
|
||||||
|
tags:
|
||||||
|
- person
|
||||||
|
summary: Return a list of all origins
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: "ok"
|
||||||
|
|
||||||
|
/1.0/person/accompanying-period/origin/{id}.json:
|
||||||
|
get:
|
||||||
|
tags:
|
||||||
|
- person
|
||||||
|
summary: Return an origin by id
|
||||||
|
parameters:
|
||||||
|
- name: id
|
||||||
|
in: path
|
||||||
|
required: true
|
||||||
|
description: The origin id
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
format: integer
|
||||||
|
minimum: 1
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: "ok"
|
||||||
|
400:
|
||||||
|
description: "Bad Request"
|
||||||
|
401:
|
||||||
|
description: "Unauthorized"
|
||||||
|
404:
|
||||||
|
description: "Not found"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/1.0/person/household.json:
|
/1.0/person/household.json:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user