Skip to main content

 Services

Web services from /about to /webhooks

get comment public

/comments/{commentid} [GET]

Description

Returns a single comment from accessible groups.

Parameters

No parameters required.

Permission

This service is public, anyone can invoke it since the comment is in a public group.

Response

The XML output is a single <comment> element.

<comment id="123"
         discussionid="456" 
         contentrole="File Attachment"
         created="2012-03-08T12:34:00+10:00">
  <title>My thread</title>
  <content type="text/plain">Some text</content>
  <attachment>
    <uri id="189"> ... </uri>
  </attachment>
  <attachment  fragment="5">
    <uri id="289"> ... </uri>
  </attachment>
  <context fragment="2">
    <uri|group  id="789"> ... </uri|group>
  </context>
  [<group .../>...]
</comment>

Error Handling

CodeCause / Description
0x1317 the comment was not found
Created on , last edited on