Create bookmarks programmatically 

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.

Table 1. Atom API request details

Method Resource URI Input representation
POST bookmark feed Found in the href attribute of the <collection> element in the user's service document. bookmark


Input

Provide a bookmark Atom entry document.

Note: 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

Location: url

Error codes


Parent topic

Common tasks

Related concepts
Work with community bookmarks programmatically
Work with bookmarks programmatically

Related reference
Bookmark entry content


   

 

});

+

Search Tips   |   Advanced Search