Get the history of a flagged blog post 

Get a feed that lists a history of the flags raised on a given blog posting.

The user authenticating the request must be the moderator of the Blogs application.

Table 1. Atom API request details

Resource Description
From the Flagged Entries feed, use the web address in the href attribute of the <link> element with the rel="http://www.ibm.com/xmlns/prod/sn/history" attribute for the entry representing the flagged post. A feed that lists the reports associated with the specified blog post.

You can use one or more of the input parameters to limit the number of posts returned in the feed. Separate multiple parameters with an ampersand (&).

Table 2. Input parameters

Parameter Description
filter Value with which to filter the returned entries. Options are:
flag

    Any flag record, dismissed or not.

flagIsDismissed

    Only flag records that have been dismissed.

flagIsRaised

    Only flag records that have not been dismissed.

The default value for this parameter is flagIsRaised.

page Page number. Specifies the page to be returned. The first page is page 0.
ps Page size. Specifies the number of entries to return per page. The default is 25.
sortBy Species what value to use as the basis for organizing the entries returned in the feed. Option is:
date

    Orders the returned entries by the date on which the flag was created.

sortOrder Specifies how to organize the entries returned in the feed. Options are:
asc

    Ascending order

desc

    Descending order


Output

An Atom feed containing the reports associated with the specified blog posting.


Parent topic

Manage flagged Blogs content


   

 

});