Home
Create bookmarks
To create a bookmark, send an Atom entry document containing the new bookmark to the bookmarks feed.
See Authenticating requests for information about how to authenticate the request.
Atom API request details
Request details
Method Resource URI Entry POST bookmark feed Value of the href attribute of the the <link> element that has a rel="http://www.ibm.com/xmlns/prod/sn/bookmarks" attribute value for each community Atom entry. bookmark entry
Input
Provide a bookmark Atom entry document.The content type of the Atom entry document must be application/atom+xml.
Output
An Atom entry document containing the new bookmark entry. Returned HTTP Headers
- HTTP/1.1 201 Created – Indicates that the bookmark was successfully created. If an error occurs, this header will contain one of the error codes below.
- Location: url – Link to edit_url of the new bookmark entry. You can use the Web address specified here to subsequently retrieve and update the bookmark entry.
Errors
- HTTP/1.1 400 Bad Request
- HTTP/1.1 403 Forbidden
Related reference