apicrud.controllers.contact
contact controller
created 31-mar-2019 by richb@instantlinux.net
Classes
- class apicrud.controllers.contact.ContactController
- static confirm(token)
Record a contact as fully confirmed
- Parameters:
token (str) – the token that was sent in confirmation message
- static confirmation_get(id)
Send a confirmation message via email (or as specified)
- Parameters:
id (str) – id of contact model
- static create(body)
after creating record, send confirmation message
- Parameters:
body (dict) – as defined in openapi.yaml schema
- static update(id, body)
contact update - uses special-case function
- Parameters:
id (str) – resource ID
body (dict) – as defined in openapi.yaml