docs: contact docstrings

Issue: #13
This commit is contained in:
Chris Milne 2026-05-28 11:22:12 +01:00
parent 42349b0182
commit 39d3f2d560
9 changed files with 14 additions and 55 deletions

View file

@ -1,13 +1,5 @@
"""
Router endpoints for contact module
Endpoints:
- [get]/{contact_id} - Returns non-address type details for contact
- [get]/{contact_id}/address - Returns address details for contact
- [get]/{contact_id}/orgs - Returns a list of orgs which the contact is assigned to, and what they are assigned as
- [post]/ - Creates a new contact
- [patch]/{contact_id} - Updates the details of an existing contact
- [delete]/{contact_id} - Deletes a contact by ID
Router endpoints for the contact module
"""
from fastapi import APIRouter