Getting a feed of all ideas that a user voted
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

Get a cache-able feed that includes all of the ideas that a user voted in all of the blogs hosted by the Blogs application.

{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.

Input
Method URI Description
GET /blogs/{homepage}/feed/myvotes/atom Get a feed that includes all of the ideas that he voded in all of the blogs hosted by the Blogs application.
Name Type Optional Description
homepage
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.
The homepage is also the Community Uuid
Output
Content Type: application/atom+xml
Code Description
200
OK. Indicates that the request was received successfully.
Examples
To get a feed of all of the comments made on the blog with the handle home:
> GET /blogs/home/feed/myvoted/atom HTTP/1.1

> Authorization: Basic ...

> Host: blogs.enterprise.example.com

> Accept: */*


Response returned by the server
<?xml version="1.0" encoding='utf-8'?>

<feed xmlns="http://www.w3.org/2005/Atom" 

      xmlns:app="http://www.w3.org/2007/app"

      xmlns:thr="http://purl.org/syndication/thread/1.0"

      xmlns:snx="http://www.ibm.com/xmlns/prod/sn"

      xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">

    <title type="text">Blogs - Amy Jones3's Voted Ideas</title>

    <subtitle type="text">Amy Jones3's Voted Ideas</subtitle>

    <id>urn:lsid:ibm.com:blogs:myvotes</id>

    <link rel="alternate" type="text/html" href="http://example.com:9090/blogs/roller-ui/favorites?lang=en_us" />

    <link rel="self" type="application/atom+xml" 

href="http://example.com:9090/blogs/homepage/feed/myvotes/atom?t=entry&amp;idea=all&amp;lang=en_us" />

        <link rel="http://www.ibm.com/xmlns/prod/sn/reports" 

href="http://example.com:9090/blogs/homepage/api/reports/entries" />

	<link rel="http://www.ibm.com/xmlns/prod/sn/issues"

href="http://example.com:9090/blogs/issuecategories?lang=en_us" />

    <link rel="first" type="application/atom+xml" href="null?lang=en_us" />

    <openSearch:totalResults>1</openSearch:totalResults>

    <updated>2011-07-26T15:23:09+08:00</updated>

	  <generator uri="http://www.ibm.com/xmlns/prod/sn" version="3.5.0.0">IBM Connections - Blogs</generator>

        <entry xml:base="http://example.com:9090/blogs/W29542eac4d88_472b_8bd9_36c2fef3ce14/entry/idea3" xml:lang="zh-CN" >

      <id>urn:lsid:ibm.com:blogs:entry-e4c3bb52-e1f0-4678-b2ee-4b707ad3f5fa</id>

      <title type="text">idea3</title>

      <author>

        <name>Amy Jones3</name>

                <email>ajones3@janet.iris.com</email>

                <snx:userid>f0c927c0-0101-102e-8fed-f46a2e89c178</snx:userid>

                <snx:userState>active</snx:userState>

              </author>

          <snx:communityUuid xmlns:snx="http://www.ibm.com/xmlns/prod/sn">779466a7-f064-4f92-8371-6e263ae3cbb5</snx:communityUuid>

	  <link rel="http://www.ibm.com/xmlns/prod/sn/container" type="application/atom+xml" 

href="http://example.com:9090/communities/service/atom/community/instance?communityUuid=779466a7-f064-4f92-8371-6e263ae3cbb5" />

            <link rel="alternate" type="text/html" 

href="http://example.com:9090/blogs/W29542eac4d88_472b_8bd9_36c2fef3ce14/entry/idea3?lang=en_us"/>

      <link rel="self" type="application/atom+xml" 

href="http://example.com:9090/blogs/W29542eac4d88_472b_8bd9_36c2fef3ce14/feed/entry/atom?entryid=e4c3bb52-e1f0-4678-b2ee-4b707ad3f5fa&amp;"/>

      <link rel="replies" type="application/atom+xml"

	  href="http://example.com:9090/blogs/W29542eac4d88_472b_8bd9_36c2fef3ce14/feed/entrycomments/idea3/atom?lang=en_us" thr:count="0"/>

      <link rel="http://www.ibm.com/xmlns/prod/sn/reports"

	  href="http://example.com:9090/blogs/homepage/api/reports/entries/e4c3bb52-e1f0-4678-b2ee-4b707ad3f5fa?lang=en_us" />

      <link rel="http://www.ibm.com/xmlns/prod/sn/recommendations" 

href="http://example.com:9090/blogs/W29542eac4d88_472b_8bd9_36c2fef3ce14/feed/entryrecommendations/e4c3bb52-e1f0-4678-b2ee-4b707ad3f5fa/atom"/>

      <app:collection 

	  href="http://example.com:9090/blogs/W29542eac4d88_472b_8bd9_36c2fef3ce14/api/entrycomments/e4c3bb52-e1f0-4678-b2ee-4b707ad3f5fa">

		<title type="text">Comment Entries</title>

		<category scheme="http://www.ibm.com/xmlns/prod/sn/collection" term="comments" />

		<app:categories fixed="yes"/>

		<app:accept>application/atom+xml;type=entry</app:accept>

	  </app:collection>

	  <app:collection 

	  href="http://example.com:9090/blogs/W29542eac4d88_472b_8bd9_36c2fef3ce14/api/recommend/entries/e4c3bb52-e1f0-4678-b2ee-4b707ad3f5fa">

		<title type="text">Recommendations</title>

		<category scheme="http://www.ibm.com/xmlns/prod/sn/collection" term="recommend" />

		<app:categories fixed="yes"/>

		<app:accept />

		<snx:voted />

	  </app:collection>

      <published>2011-07-25T10:25:24+08:00</published>

      <updated>2011-07-25T10:25:24+08:00</updated>

         <content type="html"><![CDATA

	idea3]>

         <summary type="html"><![CDATA[idea3]]></summary>

      <snx:rank scheme="http://www.ibm.com/xmlns/prod/sn/recommendations">1</snx:rank>

      <snx:rank scheme="http://www.ibm.com/xmlns/prod/sn/comment">0</snx:rank>

      <snx:rank scheme="http://www.ibm.com/xmlns/prod/sn/hit">3</snx:rank>

      <source>

        <id>urn:lsid:ibm.com:blogs:entries-1ba146de-8cbc-47a1-b6e9-4a46aaf0be23</id>

        <title type="text">test ideation blog</title>

        <link type="application/atom+xml" rel="self"

		href="http://example.com:9090/blogs/W29542eac4d88_472b_8bd9_36c2fef3ce14/feed/entries/atom?lang=en_us" />

        <link type="text/html" rel="alternate" href="http://example.com:9090/blogs/W29542eac4d88_472b_8bd9_36c2fef3ce14?lang=en_us"/>

        <updated>2011-07-26T15:12:17+08:00</updated>

		<category term="ideationblog" scheme="http://www.ibm.com/xmlns/prod/sn/type" />

		<category scheme="http://www.ibm.com/xmlns/prod/sn/flags" term="open" 

		label="Users can contribute new ideas or comment on or vote for existing ideas in this Ideation Blog." />

		      </source>

    </entry>


</feed>