Commit Graph

27 Commits

Author SHA1 Message Date
ralf
e131e24cfa fix wrong curl call for viewing email 2023-11-14 14:37:46 +02:00
ralf
ef43d7298b * Mail/REST API: support an "X-No-Location: true" header to avoid getting a "Location" header when uploading attachments
Also change HTTP Status from "200 Ok" to "201 Created" for a "Location" header,
and send a correct URL to download the attachment again with a GET request.
2023-11-10 17:07:06 +02:00
ralf
305aaad22c * REST API/Mail: viewing uploaded EML files, allowing user to answer, forward or download attachments 2023-10-27 11:50:13 +03:00
ralf
b0490bc7d8 * Addressbook/REST API: allow to pass filters or a search pattern to addressbook REST API 2023-10-19 21:34:38 +03:00
ralf
b6a0e650fe * Calendar/REST API: adding of participants to events 2023-09-18 14:13:25 +02:00
ralf
87dbacebd9 add warning to use --data-binary when uploading attachments with curl 2023-08-17 18:47:48 +02:00
ralf
6249f128db 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-02 11:02:15 +02:00
ralf
027ad398d6 * Mail: new modus for vacation notice to not save message to INBOX and REST API to set vacation handling 2023-07-31 16:24:58 +02:00
ralf
fe57e18438 implement missed shareExpiration and sharePassword attributes when sending mail 2023-07-25 14:58:49 +02:00
ralf
b8e97f9123 small docu update for Calendar REST APi 2023-07-25 10:28:26 +02:00
ralf
b013f75eef * 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-24 17:08:18 +02:00
ralf
7e333ceac9 WIP Calendar REST API 2023-07-21 17:41:37 +02:00
ralf
3da996afc7 WIP Mail REST API: fix docu and content-type of response for uploading attachments 2023-07-13 16:32:01 +02:00
ralf
8115a92a6a WIP Mail REST API: missing files from last commit 2023-07-07 12:25:45 +02:00
ralf
8a3fd670ee WIP REST API for mail: non-interactive direct sending of mails 2023-06-30 16:33:28 +02:00
ralf
dfef4ce0c5 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-06-29 12:50:04 +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