Community articleNavigating Bookmarks resources
Added by IBM contributorIBM on June 20, 2014
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

No abstract provided.
Describes how to navigate from one Bookmarks resource to another using the resources made available through the API.

When you create an application that accesses Bookmarks resources, do not construct URLs to Bookmarks resources; instead write code to follow the links from the user's service document to the user's my bookmarks collection, and then to each individual bookmark.

The following diagram illustrates how to navigate from the service document to all the available Bookmarks resources.

Identifies the order in which to access the resources.

The following table describes the available Bookmarks resources.

Method | Representation
Table 1. Bookmarks resources
Bookmark entry
Found in the href attribute of the element that has a rel="edit" attribute in each entry in a user's bookmark collection.
  • GET | bookmark edit URL
  • PUT | bookmark edit URL
  • DELETE | bookmark edit URL
Represents a bookmark.
My bookmarks
Found in the href attribute of the element in the user's service document
  • GET | bookmark feed
  • POST | bookmark entry
Collection of bookmarks. Lists the specified user's bookmarks.
Service document
GET | Service Document
As defined in the Atompub specification. Access a user's service document to retrieve links to the user's bookmark collections.