Commit Graph

10 Commits

Author SHA1 Message Date
Ralf Becker
bde60d58e1 add some more typical contact-form examples 2021-10-04 10:48:29 +02:00
Ralf Becker
b953eecf40 * Addressbook: new REST API for contacts https://github.com/EGroupware/egroupware/tree/master/doc/REST-CalDAV-CardDAV
use PUT with a UID as id to update an existing resource or create it, if not existing
2021-09-27 13:31:21 +02:00
Ralf Becker
3e035a70a4 implement and document PATCH 2021-09-27 13:30:41 +02:00
Ralf Becker
392b8036f4 REST API allow sending a JSON patch to update or create a new contact (currently only via POST or PUT, not as PATCH!)
allows eg. to create a contact from a simple Wordpress contact-form only supporting POST requests and a flat object, see new example in the documentation
2021-09-27 13:30:41 +02:00
Ralf Becker
547a5aa605 missing @type="NameComponent" and updated examples in docu with @type 2021-09-27 13:30:41 +02:00
Ralf Becker
a463264926 Implemented @type attributes for all top-level objects from JsContact Draft 08 2021-09-27 13:30:41 +02:00
Ralf Becker
322652de95 Contacts REST API:
- implement missing PUT/POST of distribution list / CardGroups
- implement changes from next JsContact draft:
  + string plus extra localizations attribute instead of localizedString object
  + use "<domain>:<name>" for vendor attributes
- add/parse urn:uuid: prefix if UID is a UUID
2021-09-27 13:30:41 +02:00
Ralf Becker
e7d59aa1dc Update README.md 2021-09-27 13:30:41 +02:00
Ralf Becker
a1863c6d49 Update README.md 2021-09-27 13:30:41 +02:00
Ralf Becker
ef4a640631 Initial docu for REST API 2021-09-27 13:30:41 +02:00