Flagging a forum entry or reply as inappropriate
Added by IBM contributorIBM | Edited by Claudia R Elbourn on June 26, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

To flag a forum entry or reply as inappropriate, send an Atom entry document containing the report to the Forums content reporting mechanism.

<link

 

href="https://www.example.com/forums/atom/topics?forumUuid=uuid"

rel="replies"

type="application/atom+xml"

thr:count="0">

</link>


Send a GET request to the web address specified in the href attribute to retrieve the forum topics feed.

 

<entry

xmlns="http://www.w3.org/2005/Atom"

xmlns:snx="http://www.ibm.com/xmlns/prod/sn">

<link

rel="http://www.ibm.com/xmlns/prod/sn/report-item"

href="https://example.com/forums/atom/topic?topicUuid=7d6540a5-b8b1-4331-b4ec-4aaf15ec0d45">

</link>

<title type="text">Human Resources</title>

<content type="text">Human Resources</content>

<category scheme="http://www.ibm.com/xmlns/prod/sn/issue" term="002"></category>

</entry> 
  1. Get the Forums service document.
  2. From the service document, find the URI for the My Forums or Public Forums feed and send a get request to retrieve it.
  3. For the forum of interest in the forums feed, find the value of the href attribute of the "replies" element. For example:
  4. For the topic of interest, find the value of the href attribute of the <link> element for the topic that you want to flag as inappropriate. If you want to flag a topic's reply, you must get the rel attribute of the "replies" link and send a GET request to the specified web address. After you find the entry that represents the topic or reply that you want to flag, make a note of web address in the href attribute of the self <link> element.
  5. Create a report entry document to send as input on the request. In it, identify the topic or reply that you want to flag by including a link element that contains an href attribute with the same web address you noted in the previous step. For example:
  6. Send a POST request to the URI specified in the table below. Pass the report entry document as input on the request.

 

Method URI Description
POST /atom/reports report
Output
Code Description
204
No Content