Get a category document that lists the flags you can assign to content that you deem to be inappropriate. By flagging inappropriate content, you bring it to the attention of the site administrator.
To retrieve a list of inappropriate content flag options for Forums, complete the following steps:
Table 1. Atom API request details
- Retrieve the Forums service document.
- From the service document, find the href of the My Forums feed and send a GET request to it.
- From the forum of interest in the My Forums feed, find the value of the href attribute of the <link> elements that have a rel attribute set to either "self" or "replies."
- From the returned Atom document, find the <link> element that has a rel="http://www.ibm.com/xmlns/prod/sn/issues" attribute value, and then send a GET request to the web address specified in the associated href attribute.
|Value of the href attribute of the <link> element that has a rel="http://www.ibm.com/xmlns/prod/sn/issues" attribute value||A category document containing the available flags that you can associate with entries in forums to bring them to the attention of the administrator. |
An Atom category document containing the available flags that you can use to bring entries to the attention of the site administrator.
> GET /forums/atom/issuecategories/atom HTTP/1.1
> Authorization: Basic XXXXX
> Host: enterprise.example.com:9444
> Accept: */*
The following content is returned by the server:
Parent topic: Flagging Forums content
Flagging a forum entry or reply as inappropriate
<atom:category term="002" label="Human Resources issue"/>
<atom:category term="001" label="Legal issue"/>