Discussions Server
Last modified by Thomas Mortagne on 2026/02/26 15:45
| The server side services of the Discussions application |
| Type | Other |
| Category | API |
| Developed by | |
| Rating | |
| License | GNU Lesser General Public License 2.1 |
| Compatibility | 12.10+ |
Table of contents
Description
Endpoints
The only operation proposed by the server is currently the addition of a message to an existing discussion, following the url scheme below.
http://{serverUrl}/xwiki/discussions/create/Message/{discussionReference}- URL Scheme
- serverUrl: the base url of the server
- discussionReference: the reference of the discussion
- Request parameters:
- form_token: a CSRF token
- content the content of the message
- RequiresHTMLConversion: must be present if the content parameter must be escaped. This is only useful when the content is edited using the WYSIWYG editor
- content_syntax: the syntax of the content parameters. This in only useful when the content is edited using the WYSIWYG editor
- discussionReference: the reference of the discussion
- originalURL: The URL to which the user should be redirected at the end of the request.