API Guide v2.0

Get All Bookmarks

Version 1 | Version 2

HTTP Method & URL
GET <base-url>?Type=AllBookmarks&Version=2&UserId=<userid>& Page=<page#>
Parameters
Type <Required> Type of the request resource
Version <Required> API version#
UserId <Required> User-id of the user
Page <optional> Page# (starts with 1) of the results. Defaults to 1st page.
Description
This API retrieves the bookmarks that have been saved into the Company and all open groups. The corresponding tags are retrieved using a different API call.
Example Response
<?xml version="1.0" encoding="UTF-8"?>
<Response>
  <TimeStamp> 2008-03-25 05:29:30 GMT </TimeStamp>
  <APIVersion> 2.0 </APIVersion>
  <CurrentPage> 1 </CurrentPage>
  <TotalPages> 20 </TotalPages>
  <PageSize> 10 </PageSize>
  <Bookmarks>
    <Bookmark> 
      <Name> CNN.com - Breaking News, U.S., World, Weather, Entertainment
 _ Video News </Name>
      <URL> http://www.cnn.com/ </URL>
      <SaveCount> -1 </SaveCount>
      <Id> 204 </Id>
      <Tags>
        <Tag>
          <Keyword> news </Keyword>
          <Id> 34 </Id>
          <Weight> 0 </Weight>
        </Tag>
      </Tags> 
      <UserName> Joe Doe </UserName>
      <CreatedOn> 6 days ago </CreatedOn>
      <Community>
        <Name> News Community </Name>
        <Id> 333 </Id>
        <Type> open_group </Type>
      </Community>
      <CommentCount> 2 </CommentCount>
    </Bookmark>
  </Bookmarks>
</Response>
Notes:
  • Savecount: Number of times the URL is saved (The value is -1 for all bookmarks in versions 1 and 2 of the Connectbeam APIs).
  • The Weight of the tags will always be 0 in the result.
  • Type values, as in <Community><Type>value</Type></Community>
    • private : User's private community
    • company : Public (shared with all)
    • group_restricted : Restricted Group
    • group_open : Open Group
  • The response is similar to that of the Get User's Bookmarks API.

back to top

©2008 Connectbeam, Inc.