Skip to main content

Module handler

Module handler 

Source
Expand description

JSON REST handlers for address books and contacts.

Structured-only shape: clients send/receive typed JSON; the server is the sole authority on vCard generation and field extraction. Custom vCard properties from external CardDAV clients round-trip through the stored blob but don’t surface here.

Functions§

create_address_book
create_contact
delete_address_book
delete_contact
get_contact
import_contacts
POST /api/address-books/{ab_id}/import?conflict=skip|replace|add
list_address_books
list_all_contacts
list_contacts
patch_address_book
patch_contact
put_contact