Creating community bookmarks
Added by IBM contributorIBM | Edited by Claudia R Elbourn on July 21, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

You can call the Community Bookmark API with the POST method to create a bookmark for your community.
Tags: commapi
For more information on the required data format, see Community Bookmark Entry Content.
Method URI Description
POST /communities/service/atom/community/bookmarks Value of the href attribute of the the <link> element that has a rel="" attribute value for each community Atom entry.
Content Type: application/atom+xml
Sample Request:
    <entry xmlns="" xmlns:app="" xmlns:snx="">
    <category term="bookmark" scheme="">
    <content type="html"></content>
    <title type="text">Bookmark Test</title>
    <link href="">
Name Type Optional Description
string No The uuid of community that you wish to query. This is a mandatory parameter
Content Type: application/atom+xml
Name Type Optional Description
string No 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.
Code Description
Created – Indicates that the bookmark was successfully created. If an error occurs, this header will contain one of the error codes below.
Bad Request.
Forbidden. The server refuses to fulfill a request, typically because the request was for an object that you don't have permission to access.
Unauthorized. Returned when no authenticated user or no userid, email, or key parameter are provided on the request.