parent
42349b0182
commit
39d3f2d560
9 changed files with 14 additions and 55 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue