Home
Retrieving the tags assigned to all blog posts for all blogs
To retrieve the tags that have been assigned to all of the posts in all of the blogs on the Blogs server, use the HTTP GET request to retrieve the tags category document.
This method returns the tags assigned to all blog posts. To retrieve the tags assigned to a single blog, see Retrieving the tags assigned to a specific blog.
Atom API request details
Method Resource URI Output representation GET blog posting tags category document {homepage}/feed/tags/atom {homepage} represents the blog handle of the blog configured to be the home page of the Blogs feature. The handle is defined when the home page blog is created by the administrator.
A list of all tags associated with blog posts in an Atom category document as defined in the Atompub specification.
Input
None.
Output
A category Atom document of blog entry tags. Returned HTTP Headers
- HTTP/1.1 200 OK
- Indicates that the tags were successfully found and returned.
Example
InputGET /blogs/home/feed/tags/atom HTTP/1.1 Host: blogs.enterprise.acme.com:9444Response
HTTP/1.1 200 OK <?xml version='1.0'?> <categories xmlns:snx='http://www.ibm.com/xmlns/prod/sn' fixed='no' xmlns='http://www.w3.org/2007/app' xmlns:atom='http://www.w3.org/2005/Atom'> <atom:category term='animal' snx:frequency='1'/> <atom:category term='blogs' snx:frequency='6'/> <atom:category term='books' snx:frequency='1'/> <atom:category term='broadway' snx:frequency='2'/> <atom:category term='css' snx:frequency='1'/> <atom:category term='economy' snx:frequency='1'/> <atom:category term='entry' snx:frequency='2'/> <atom:category term='example' snx:frequency='1'/> <atom:category term='extinct' snx:frequency='1'/> <atom:category term='fashion' snx:frequency='1'/> <atom:category term='geek' snx:frequency='1'/> <atom:category term='health' snx:frequency='1'/> <atom:category term='ibm' snx:frequency='1'/> <atom:category term='skiing' snx:frequency='2'/> <atom:category term='travel' snx:frequency='6'/> <atom:category term='zoo' snx:frequency='3'/> </categories>
Related reference
Retrieving the tags assigned to a specific blog