Retrieving the tags assigned to a specific blog
Added by IBM contributorIBM | Edited by IBM contributorPaul Bastide on December 21, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

You can call the Tags API with the GET method to retrieve all the tags for the posts belonging to the blog
 
Input
Method URI Description
GET /blogs/{handle}/feed/tags/atom retrieve the tags assigned to a specific blog
Name Type Optional Description
handle
string No {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.
The handle can be the Community Uuid.
Output
Content Type: application/atom+xml
Code Description
200
Indicates that the tags were successfully found and returned.
Examples
GET /blogs/sporty/feed/tags/atom HTTP/1.1

	Host: blogs.enterprise.example.com:9444


Response returned by the server
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>