Media Conversion
About the convert module
Warning
The convert module is experimental and is not meant for
production use. It is not enabled by default.
The convert module converts between media types for selected content
types. It accepts an HTTP POST request at the /convert URL and
returns the converted data in the response body.
Currently it only converts between iCalendar and JSCalendar, according to the definition of the IETF draft draft-ietf-calext-jscalendar-icalendar:
A request with a
text/calendarbody is converted to JSCalendar and returned asapplication/jscalendar+json.A request with an
application/jscalendar+jsonbody is converted to iCalendar and returned astext/calendar.
Configuration
The module is enabled by adding convert to the
httpmodules option. It requires JMAP support to be compiled in.