Files
opencloud/services/groupware
Pascal Bleser 8f5fbb00a8 groupware: refactoring: pass object type instead of namespaces
* make the JMAP internal API a bit more future-proof by passing
   ObjectType objects instead of the JMAP namespaces

 * remove the new attempt to contain operations even further using the
   Factory objects

 * move CalendarEvent operations to its own file, like everything else

 * fix email tests

 * ignore WS error when closing an already closed connection
2026-04-13 16:40:43 +02:00
..
2026-04-13 16:40:15 +02:00

Groupware

The OpenCloud Groupware service provides a REST API for performing all the backend operations needed by the OpenCloud Groupware frontends.

OpenAPI Documentation

To generate the OpenAPI ("Swagger") documentation of the REST API, pnpm is a pre-requisite, as well as the groupware-apidocs tool.

After building and installing groupware-apidocs somewhere in your PATH, run the following command in this directory to generate the swagger.yml OpenAPI definition file:

make apidoc

To generate a static HTML file using Redocly, which will generate a file api.html:

make apidoc-static

Favicon

A favicon is inserted into the static (Redocly) HTML file as part of the build process in the Makefile, using favicon.png as the source, computing its base64 to insert it as an image using a data URL in order to embed it.

That is performed by the script apidoc-postprocess-html.ts (which is done automatically when using then Makefile as described above.)