Retrieve the tags assigned to a specific blog
To retrieve the tags assigned to a specific blog, use the HTTP GET request to retrieve the tags category document for that blog.This method returns the tags assigned to a single blog. If you want to retrieve the tags assigned to all of the posts in all blogs, see Retrieve the tags assigned to all blog posts for all blogs.
Table 1. Atom API request details
Method Resource URI Output representation GET Tags category document /{handle}/feed/tags/atom {handle} represents the handle of a specific blog. A handle is a single-word term that identifies a blog. It is included in the web address of the blog and in the URIs that are used to query the entries in a blog.
A list of all tags associated with a specific blog in an Atom category document as defined in the Atompub specification.
Input
None.
Output
A category Atom document of blog tags.Returned HTTP headers
HTTP/1.1 200 OK
Indicates that the tags were successfully found and returned.
Example
Input
GET /blogs/sporty/feed/tags/atom HTTP/1.1 Host: blogs.enterprise.example.com:9444Response
HTTP/1.1 200 OK <?xml version='1.0'?> <categories xml:lang='en-US' fixed='no' xmlns='http://www.w3.org/2007/app'> <generator uri='http://www.ibm.com/xmlns/prod/sn' version='2.0' xmlns='http://www.w3.org/2005/Atom'> IBM Connections - Blogs </generator> <category term='ibm' xmlns:snx='http://www.ibm.com/xmlns/prod/sn' xmlns='http://www.w3.org/2005/Atom' snx:frequency='2'/> <category term='lotus' xmlns:snx='http://www.ibm.com/xmlns/prod/sn' xmlns='http://www.w3.org/2005/Atom' snx:frequency='1'/> <category term='personal' xmlns:snx='http://www.ibm.com/xmlns/prod/sn' xmlns='http://www.w3.org/2005/Atom' snx:frequency='1'/> </categories>
Parent topic
Work with tagsRelated reference
Retrieve the tags assigned to all blog posts for all blogs
});