Developers
Table of Contents
Universe endpoint
This endpoint is used to retrieve a full Netvibes Universe.
URL
http://rest.netvibes.com/universe/netvibesId?format=format
Arguments
netvibesId (required): the Netvibes ID
format (optional): xml, json
Example Request
For this universe: http://www.netvibes.com/netvibes
The request URL is: http://rest.netvibes.com/universe/netvibes
Also: http://rest.netvibes.com/universe/netvibes?format=json
Example Response
The following responses have been reformated for readability.
XML
<?xml version="1.0" encoding="utf-8"?> <netvibes> <title>netvibes' universe</title> <settings> <setting name="themeUrl"> http://www.netvibes.com/themes/exposition-pepper/screen.css </setting> <setting name="themeTitle">Exposition Pepper</setting> <setting name="headerHeight">89</setting> <setting name="headerBackground"> http://about.netvibes.com/img/logo_header_netvibesuniverse.png </setting> <setting name="bodyColor">#222222</setting> <setting name="cssText"> body #header #topLinks a { color:#FFFFFF } body #pageTitle { color:#FFFFFF } body #header #aNewTab { color:#FFFFFF } #header { background-image: url(http://about.netvibes.com/img/logo_header_netvibesuniverse.png); background-repeat: no-repeat; background-position: top center } #topLinks { margin-bottom: 44px; } #divTabs { margin-top: 44px; } body { background-color: #222222 } #pageTitle { display: none; } </setting> </settings> <tab id="100000706" cols="3"> <title>Welcome</title> <link rel="icon" href="http://www.netvibes.com/img/favicon.png"/> <widget id="850795476" col="1" row="1000" name="UWA"> <title>Welcome to netvibes</title> <height>419</height> <color>green</color> <skeleton origin="nvmodules.typhon.net" id="4OYavpbynf54n5gnxrgbhe5gnxrgbhe4x"> <link rel="uwa" href="http://nvmodules.netvibes.com/widget/uwa/4OYavpbynf54n5gnxrgbhe5gnxrgbhe4x"/> <link rel="iframe" href="http://nvmodules.netvibes.com/widget/frame/4OYavpbynf54n5gnxrgbhe5gnxrgbhe4x"/> <link rel="script" href="http://nvmodules.netvibes.com/widget/js/4OYavpbynf54n5gnxrgbhe5gnxrgbhe4x"/> <link rel="stylesheet" href="http://nvmodules.netvibes.com/widget/css/4OYavpbynf54n5gnxrgbhe5gnxrgbhe4x"/> </skeleton> </widget> <widget id="850780117" col="1" row="2000" name="FriendActivities"> <title>Netvibes - netvibes</title> <skeleton origin="www.netvibes.com" id="aiO04o4cY4n5sevraqApgvivgvrf5sevraqApgvivgvrf4x"> <link rel="uwa" href="http://nvmodules.netvibes.com/widget/uwa/aiO04o4cY4n5sevraqApgvivgvrf5sevraqApgvivgvrf4x"/> <link rel="iframe" href="http://nvmodules.netvibes.com/widget/frame/aiO04o4cY4n5sevraqApgvivgvrf5sevraqApgvivgvrf4x"/> <link rel="script" href="http://nvmodules.netvibes.com/widget/js/aiO04o4cY4n5sevraqApgvivgvrf5sevraqApgvivgvrf4x"/> <link rel="stylesheet" href="http://nvmodules.netvibes.com/widget/css/aiO04o4cY4n5sevraqApgvivgvrf5sevraqApgvivgvrf4x"/> </skeleton> <data name="userId">38015702</data> <data name="fixedUserId">true</data> <data name="selfMode">true</data> <data name="activeTab">UserPublicTimeline</data> <data name="activityLimit">4</data> </widget> (...) </tab> (...) </netvibes>
JSON
{ "title": "netvibes' universe", "settings": { "themeUrl": "\/themes\/exposition-pepper\/screen.css", "themeTitle": "Exposition Pepper", "headerHeight": "89", "headerBackground": "http:\/\/about.netvibes.com\/img\/logo_header_netvibesuniverse.png", "bodyColor": "#222222", "cssText": "body #header #topLinks a { color:#FFFFFF }\n body #pageTitle { color:#FFFFFF }\n body #header #aNewTab { color:#FFFFFF }\n #header { background-image: url(http:\/\/about.netvibes.com\/img\/logo_header_netvibesuniverse.png); background-repeat: no-repeat; background-position: top center }\n #topLinks { margin-bottom: 44px; }\n #divTabs { margin-top: 44px; }\n body { background-color: #222222 }\n #pageTitle { display: none; }\n" }, "tabs": [ { "id": "100000706", "cols": "3", "title": "Welcome", "icon": "http:\/\/www.netvibes.com\/img\/favicon.png", "widgets": [ { "id": "850795476", "col": "1", "row": "1000", "name": "UWA", "title": "Welcome to netvibes", "height": "419", "color": "green", "skeleton": { "id": "4OYavpbynf54n5gnxrgbhe5gnxrgbhe4x", "origin": "nvmodules.typhon.net", "links": { "uwa": "http:\/\/nvmodules.netvibes.com\/widget\/uwa\/4OYavpbynf54n5gnxrgbhe5gnxrgbhe4x", "iframe": "http:\/\/nvmodules.netvibes.com\/widget\/frame\/4OYavpbynf54n5gnxrgbhe5gnxrgbhe4x", "script": "http:\/\/nvmodules.netvibes.com\/widget\/js\/4OYavpbynf54n5gnxrgbhe5gnxrgbhe4x", "stylesheet": "http:\/\/nvmodules.netvibes.com\/widget\/css\/4OYavpbynf54n5gnxrgbhe5gnxrgbhe4x" } } }, { "id": "850780117", "col": "1", "row": "2000", "name": "FriendActivities", "title": "Netvibes - netvibes", "data": { "userId": "38015702", "fixedUserId": "true", "selfMode": "true", "activeTab": "UserPublicTimeline", "activityLimit": "4" }, "skeleton": { "id": "aiO04o4cY4n5sevraqApgvivgvrf5sevraqApgvivgvrf4x", "origin": "www.netvibes.com", "links": { "uwa": "http:\/\/nvmodules.netvibes.com\/widget\/uwa\/aiO04o4cY4n5sevraqApgvivgvrf5sevraqApgvivgvrf4x", "iframe": "http:\/\/nvmodules.netvibes.com\/widget\/frame\/aiO04o4cY4n5sevraqApgvivgvrf5sevraqApgvivgvrf4x", "script": "http:\/\/nvmodules.netvibes.com\/widget\/js\/aiO04o4cY4n5sevraqApgvivgvrf5sevraqApgvivgvrf4x", "stylesheet": "http:\/\/nvmodules.netvibes.com\/widget\/css\/aiO04o4cY4n5sevraqApgvivgvrf5sevraqApgvivgvrf4x" } } }, (...) ] }, (...) ] }
- Send to a friend
- Add to favorites
- Last modified: 2008/05/27 13:42


