Commit Graph

15 Commits

Author SHA1 Message Date
ralf
bed1e43200 fix error, if there is no old vacation specifying a number of days, setting now same default as UI: 3 days
also some docu fixes
2023-08-09 16:49:16 +02:00
ralf
eef211fdcd * Calendar: new REST API to read, create, modify and delete events, see https://github.com/EGroupware/egroupware/blob/master/doc/REST-CalDAV-CardDAV/Calendar.md 2023-07-25 18:38:34 +02:00
ralf
f60ee71c1c WIP Calendar REST API 2023-07-25 18:38:34 +02:00
ralf
2858a8a599 WIP REST API for mail
currently we can launch (interactive) compose windows, if user is online
ToDo:
- send mails for a user
- authentication as arbitrary user with an API token
2023-07-14 08:39:58 +02:00
Ralf Becker
fccf18e832
Added GET request to existing resource with all available fields 2022-12-14 07:58:43 -06:00
Ralf Becker
6a031ef45c add some more typical contact-form examples 2021-10-04 10:48:04 +02:00
Ralf Becker
281e71ef71 use PUT with a UID as id to update an existing resource or create it, if not existing 2021-09-25 13:04:49 +02:00
Ralf Becker
e640873fc0 implement and document PATCH 2021-09-25 12:38:08 +02:00
Ralf Becker
1280de46d6 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-24 18:06:13 +02:00
Ralf Becker
15a2e546ea missing @type="NameComponent" and updated examples in docu with @type 2021-09-21 18:50:40 +02:00
Ralf Becker
8db7d13c49 Implemented @type attributes for all top-level objects from JsContact Draft 08 2021-09-21 11:09:32 +02:00
Ralf Becker
82c8ed51d2 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-20 16:01:22 +02:00
Ralf Becker
7399cca9fe
Update README.md 2021-09-20 08:35:31 +02:00
Ralf Becker
2512cffe3b
Update README.md 2021-09-20 08:34:41 +02:00
Ralf Becker
4bb8b6d4a4
Initial docu for REST API 2021-09-19 12:42:23 +02:00