add address suggestion by household

This commit is contained in:
2021-07-29 16:01:17 +02:00
parent 5ef5b65d90
commit 886924a7e5
4 changed files with 122 additions and 5 deletions

View File

@@ -384,6 +384,34 @@ paths:
200:
description: "OK"
/1.0/person/address/suggest/by-household/{id}.json:
get:
tags:
- address
summary: get a list of suggested address for a household
description: >
The address are computed from various source. Currently:
- the address of course to which the members is participating
The current household address is always ignored.
parameters:
- name: id
in: path
required: true
description: The household id
schema:
type: integer
format: integer
minimum: 1
responses:
401:
description: "Unauthorized"
404:
description: "Not found"
200:
description: "OK"
/1.0/person/accompanying-course/{id}.json:
get:
tags: