Get a list of bookmarks that you have been notified about 

Retrieve a list of the bookmarks that other people have notified you about.

Table 1. Atom API request details

Resource Description
/atom/mynotifications Retrieves a list of the bookmarks that you have been notified about.

Use one or more of the input parameters to narrow the search. Separate multiple parameters with an ampersand (&).

Table 2. Input parameters

Parameter Description
lang Language code. Language of the strings in the output. If not specified, the first matching browser language is used, if available. The server then redirects the request to add this parameter to the URL. Specify this parameter to avoid a redirect.
page Page number. Specifies the page to be returned. The default is 1.
ps Page size. Specifies the number of entries to return per page.


Example

To retrieve a list of popular bookmarks, send the following HTTP request:

> GET /dogear/atom/mynotifications HTTP/1.1
> Authorization: Basic ...
> Host: dogear.enterprise.example.com:9446
> Accept: */*

The HTTP response would look as follows:

< HTTP/1.1 200 OK
< Last-Modified: Thu, 07 Feb 2008 19:47:14 GMT
< Cache-Control: public,max-age=300,s-maxage=300
< Content-Type: application/atom+xml; charset=UTF-8
< Content-Language: en
< Transfer-Encoding: chunked
< Date: Thu, 07 Feb 2008 20:08:00 GMT
< Server: WAS/6.1

The following content is returned by the server:

<feed 
 xmlns="http://www.w3.org/2005/Atom" 
 xmlns:snx="http://www.ibm.com/xmlns/prod/sn" 
 xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">
  <generator uri="http://www.ibm.com/xmlns/prod/sn" version="2.5">
   IBM Connections - Dogear
  </generator>
  <title>Bookmarks - Notifications Received</title>
  <link 
   rel="self" 
   type="application/atom+xml" 
   href="https://dogear.enterprise.example.com:9446/dogear/atom/mynotifications?
    sort=date&amp;sortOrder=desc&amp;lang=en" />
  <link 
   rel="http://www.ibm.com/xmlns/prod/sn/tag-cloud" 
   type="application/atomcat+xml" 
   href="https://dogear.enterprise.example.com:9446/dogear/tags/mynotifications?
    sort=date&amp;sortOrder=desc&amp;lang=en" />
  <link 
   rel="alternate" 
   type="text/html" 
   href="https://dogear.enterprise.example.com:9446/dogear/html/mynotifications?
    sort=date&amp;sortOrder=desc&amp;lang=en"/>
  <opensearch:totalResults>1</opensearch:totalResults>
  <id>tag:dogear.ibm.com,2005:feed://mynotifications?sort=date&amp;
   sortOrder=desc&amp;lang=en</id>
  <entry>
    <id>tag:dogear.ibm.com,2005:notification:0ace1057-2758-480d-b59c-
     a76dd1d7e616</id>
    <title>NHPTV</title>
    <category 
     scheme="http://www.ibm.com/xmlns/prod/sn/type" term="notification" />
    <link href="http://www.nhptv.org" />
    <content type="html">
      <! [CDATA 

New Hampshire Public TV

]&gt;<br/>
<! [CDATA [Comments from Amy Jones6 <div> <p>Hi- I thought you might be interested in this bookmark. Amy Jones6</p> </div>]]&gt; </content> <published>2009-03-17T13:08:05-04:00</published> <updated>2009-03-17T13:08:05-04:00</updated> <category term="janetbookmark"/> <author> <email>buser90@us.example.com</email> <snx:userid>c029ae40-f8f2-102c-981e-ceb7f24c5708</snx:userid> <name>Bill User90</name> <uri>https://dogear.enterprise.example.com:9446/dogear/html? email=buser90%40us.example.com</uri> </author> <snx:sender> <email>ajones6@us.example.com</email> <snx:userid>5b788f40-7d67-102c-845c-e2ebc3ec5536</snx:userid> <name>Amy Jones6</name> <uri>https://dogear.enterprise.example.com:9446/dogear/html? email=ajones6%40us.example.com</uri> </snx:sender> <snx:notifiedDate>2009-03-17T16:44:43-04:00</snx:notifiedDate> <snx:clickcount>1</snx:clickcount> <snx:linkcount>1</snx:linkcount> <link rel="http://www.ibm.com/xmlns/prod/sn/same" type="application/atom+xml" href="https://dogear.enterprise.example.com:9446/dogear/atom? for=http%3a%2f%2fwww.nhptv.org" /> </entry> </feed>


Parent topic

Getting Bookmarks feeds


   

 

});