Community articleGetting a list of inappropriate content flag options for Blogs
Added by IBM contributorIBM on March 18, 2014
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

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.



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.

Output

An Atom category document containing the available flags that you can use to bring entries to the attention of the site administrator.

Input
Method URI Description
GET /blogs/issuecategories A category document containing the available flags that you can associate with entries in all blogs to bring them to the attention of the administrator.
Note: This resource was added with version 3.
GET /blogs/{homepage}/feed/issuecategories/atom A category document containing the available flags that you can associate with entries in all blogs to bring them to the attention of the administrator.
Note: {homepage} represents the blog handle of the blog configured to be the home page of the Blogs application. The handle is defined when the home page blog is created by the administrator.
Name Type Optional Description
homepage
string Yes {homepage} represents the blog handle of the blog configured to be the home page of the Blogs application. The handle is defined when the home page blog is created by the administrator.
Output
Content Type: application/atom+xml
Code Description
200
OK. Indicates that the request was received successfully.
Examples
> GET /blogs/issuecategories HTTP/1.1

> Authorization: Basic XXXXX

> Host: blogs.enterprise.example.com

> Accept: */*

--------------------------------------------------------------------------


> GET /blogs/home/feed/issuecategories/atom HTTP/1.1

> Authorization: Basic XXXXX

> Host: blogs.enterprise.example.com:9444

> Accept: */*


Response returned by the server
<?xml version="1.0" encoding="utf-8" ?> 

<categories 

 fixed="yes" 

 scheme="http://www.ibm.com/xmlns/prod/sn/issue" 

 xmlns="http://www.w3.org/2007/app">

  <category 

   term="002" 

   label="Human Resources issue" 

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

  <category 

   term="001" 

   label="Legal issue" 

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

  </categories>