The JMAP App for Nextcloud provides JMAP support for Nextcloud systems by exposing a RESTful API Endpoint which speaks the JMAP Protocol.
Please note that this version is still in its early stages.
The following data types are currently supported by the JMAP Plugin for Nextcloud:
- Contacts over the JMAP for Contacts protocol
- Calendars over the JMAP for Calendars protocol, built on top of the JSCalendar format
- ☁ Clone this app into the
apps
folder of your Nextcloud:git clone https://github.com/audriga/jmap-nextcloud jmap
(Make sure the folder is namedjmap
). - 👩💻 In the folder of the app, run the command
make
to install dependencies and build the Javascript. - ✅ Enable the app through the app management of your Nextcloud
- 🎉 Partytime! Help fix some issues and send us some pull requests 👍
Set up your favorite client to talk to Nextcloud's JMAP API.
For debugging purposes it makes sense to throw some cURL calls at the API. For example, this is how you tell the JMAP API to return all CalendarEvents:
curl -u username:password <nextcloud-address>/index.php/apps/jmap/jmap -d '{"using":["urn:ietf:params:jmap:calendars"],"methodCalls":[["CalendarEvent/get",{"accountId":"<username>"},"0"]]}'
PHP: 8.1 and 8.2
Nextcloud: between 24 and 29