Getting a feed of all blogs
Added by IBM contributorIBM | Edited by Claudia R Elbourn on July 7, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Get a feed that includes all of the blogs hosted by the Blogs application.

You can narrow down the blogs that are returned by passing parameters to the request that you use to retrieve the feed. If you do not specify any input parameters, the server returns all of the blogs that are displayed in the Public Blogs>Blogs Listing view from the product user interface.

Usage notes

Lists all blogs created in the enterprise. Returns a feed containing blog definition atom entries with information about each blog, including the handle and author(s).

Request parameters

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

Method URI Description
GET /blogs/{homepage}/feed/blogs/atom
Name Type Optional Description
string No {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, and is defined in the <snx:BlogsHomepageHandle> element in the service document for Blogs.
Name Type Optional Description
int Yes Page number. Specifies the page to be returned. The default value is 1, which returns the first page.
Note: Specifying 0 returns the first page also. This option is supported for backwards compatability only; it will be deprecated in a future release.
int Yes Page size. Specifies the number of entries to return per page. The default value is 10. The maximum value you can specify is 50.
string Yes Well-formed full text search query. Performs a text search of the blog entries.
string Yes Includes in the resulting feed all entries published after a specified date. Specify the date using a date-time value that conforms to RFC3339. In addition, an uppercase "T" character must be used to separate date and time, and an uppercase "Z" character must be present in the absence of a numeric time zone offset. For example: 2009-01-04T20:32:31.171Z.
enumerated Yes Specifies what value to use as the basis for organizing the entries returned in the feed. The options are:
Sorts the entries by the number of comments or replies an item has received.
Sorts the entries by the last modified date.
Sorts the entries by how popular the item is.
Sorts the entries by the number of times the item was recommended.
Sorts the entries alphabetically by title. The title used is the text that is displayed in the <title> element of each entry in the feed.
Use with the sortOrder parameter to specify the order in which to display the results.
Authorized values:
  • commented
  • modified
  • popularity
  • recommended
  • title
enumerated Yes
Specifies the order in which to sort the results. The options are:
Sorts the results in ascending order.
Sorts the results in descending order.
Authorized values:
  • asc
  • desc
string Yes Returns community blog and community ideation blog in the specified community.
enumerated Yes Returns only specific Blogs type:
regular blogs and community blogs
community blogs only
community ideation blogs only
Without blogType ,return all these tree types.
Authorized values:
  • blog
  • communityblog
  • ideationblog
string Yes Returns blog entries with the specified tags. Separate multiple tags with a plus sign (+).
string No The anchor of the blog entry
number No Calculate the total number since someday
boolean No judge if this include aggregation
Content Type: application/atom+xml