Discussions Server

Last modified by Manuel Leduc on 2021/03/17 21:59

cogThe server side services of the Discussions application
TypeOther
CategoryAPI
Developed by

Manuel Leduc

Rating
0 Votes
LicenseGNU Lesser General Public License 2.1
Compatibility

12.10+

Table of contents

Description

This extension is under heavy development and can be highly unstable. Please use it only to perform tests on a dedicated XWiki instance.

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.
Tags:
    

Get Connected