REST API: Discussion threads

Methods


TypeVer.Command parameterParameters
Getters
GET4.1+ getMessageForm
Example of success:

GET4.1+ getDiscussion nodeType=<nodeType>
nodeId=<id>
Example of success:


If the node does not exist, an error is returned.
GET4.1+ getDiscussionNotifications (opt.) userId=<id>
Example of success:


GET4.1+ hasDiscussionToBeNotified nodeType=<nodeType>
nodeId=<id>
(opt.) userId=<id>
If there are new messages to be notified to the user:

If there is no new messages to be notified to the user:


Setters
GET4.1+ createMessage nodeType=<nodeType>
nodeId=<id>
Content of the form with values
(see getMessageForm)
must be passed in the request's body
as multi-part.
Example of success:


If the node does not exist, an error is returned.
POST11+ createMessage nodeType=<nodeType>
nodeIds=<id, id, ...>
Content of the form with values
(see getMessageForm)
must be passed in the request's body
as multi-part.
Example of success:


If the node does not exist, an error is returned.