Back to my page

Developers

Universe Timeline Endpoint

This endpoint is used to retrieve the latest events (25 by default) of a user's public timeline.

URL

http://rest.netvibes.com/timeline/user/netvibesId?format=format
(also: http://rest.netvibes.com/universe/netvibesId/timeline?format=format)

Arguments

netvibesId (required): the Netvibes ID
format (optional): xml, json, rss, atom

Example Request

Example Response

Atom

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://www.netvibes.com</id>
  <title><![CDATA[Netvibes activities]]></title>
  <author>
    <name>Netvibes</name>
  </author>
  <updated>2008-05-20T17:12:45+00:00</updated>
  <published>2008-05-26T22:47:01+00:00</published>
  <link rel="self" href="http://www.netvibes.com"/>
  <logo>http://www.netvibes.com/favicon.ico</logo>
  <generator>Netvibes REST API - user:netvibes</generator>
 
  <entry>
    <id>http://www.netvibes.com/netvibes/activities/24503254</id>
    <title><![CDATA[Follow Cannes festival and movie news on Netvibes]]></title>
    <updated>2008-05-19T15:35:26+00:00</updated>
    <link rel="alternate" href="http://blog.netvibes.com/?2008/05/15/165-follow-cannes-festival-on-netvibes"/>
    <summary><![CDATA[netvibes shared as favorite Follow Cannes festival and movie news on Netvibes]]></summary>
  </entry>
 
  <entry>
    <id>http://www.netvibes.com/netvibes/activities/24500356</id>
    <title><![CDATA[Star it!]]></title>
    <updated>2008-05-19T15:09:48+00:00</updated>
    <link rel="alternate" href="http://www.netvibes.com/subscribe.php?preconfig=4d2cc61d594877273da9218e4c9c1e5b"/>
    <summary><![CDATA[netvibes shared a widget as favorite Star it!]]></summary>
  </entry>
  (...)
</feed>

RSS

<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
   <channel>
      <title><![CDATA[Netvibes activities]]></title>
      <link>http://www.netvibes.com</link>
      <description></description>
      <pubDate>Tue, 20 May 2008 17:12:45 +0000</pubDate>
      <managingEditor>(Netvibes)</managingEditor>
      <webMaster>support@netvibes.com</webMaster>
      <image>
         <url>http://www.netvibes.com/favicon.ico</url>
         <title>Netvibes activities</title>
         <link>http://www.netvibes.com</link>
      </image>
      <generator>Netvibes REST API - user:netvibes</generator>
      <docs>http://blogs.law.harvard.edu/tech/rss</docs>
 
      <item>
         <title><![CDATA[Follow Cannes festival and movie news on Netvibes]]></title>
         <link>http://blog.netvibes.com/?2008/05/15/165-follow-cannes-festival-on-netvibes</link>
         <guid>http://www.netvibes.com/netvibes/activities/24503254</guid>
         <description><![CDATA[netvibes shared as favorite Follow Cannes festival and movie news on Netvibes]]></description>
         <pubDate>Mon, 19 May 2008 15:35:26 +0000</pubDate>
      </item>
 
      <item>
         <title><![CDATA[Star it!]]></title>
         <link>http://www.netvibes.com/subscribe.php?preconfig=4d2cc61d594877273da9218e4c9c1e5b</link>
         <guid>http://www.netvibes.com/netvibes/activities/24500356</guid>
         <description><![CDATA[netvibes shared a widget as favorite Star it!]]></description>
         <pubDate>Mon, 19 May 2008 15:09:48 +0000</pubDate>
        </item>
    </channel>
</rss>

XML

<?xml version="1.0" encoding="utf-8"?>
<netvibes>
  <query>user:netvibes</query>
  <numfound>22</numfound>
  <timeline>
    <item>
      <id>2239345</id>
      <userId>38015702</userId>
      <type>14</type>
      <createdOn>2008-02-27 17:28:49</createdOn>
      <updatedOn>2008-05-20 17:12:45</updatedOn>
      <data>
        <title>NETVIBES WALL</title>
      </data>
      <comment>Welcome fellow visitor</comment>
      <status>public</status>
      <userName>netvibes</userName>
      <userFullName>netvibes</userFullName>
    </item>
    (...)
  </timeline>
</netvibes>

JSON

{
  "query": "user:netvibes",
  "numfound": 22,
  "timeline": [
    {
      "id": "2239345",
      "userId": "38015702",
      "type": "14",
      "createdOn": "2008-02-27 17:28:49",
      "updatedOn": "2008-05-20 17:12:45",
      "data": {
        "title": "NETVIBES WALL"
      },
      "comment": "Welcome fellow visitor",
      "status": "public",
      "userName": "netvibes",
      "userFullName": "netvibes"
    },
    (...)
  ]
}