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

To update a bookmark, send a replacement bookmark entry document in Atom format to the existing bookmark's edit web address.
Tags: commapi
If the bookmark's web address is changed, the edit web address of the bookmark resource is changed as well.

All existing bookmark information will be replaced with the new data. To avoid deleting all existing data, retrieve any data you want to retain first, and send it back with this request. For example, if you want to add a new tag to a bookmark entry, retrieve the existing tags, and send them all back with the new tag in the update request. See Retrieving bookmarks for more information.
Input
Method URI Description
PUT /communities/service/atom/community/bookmarks Value of the href attribute of the <link rel="edit"> element of each entry in the bookmarks feed.
Content Type: application/atom+xml
Name Type Optional Description
communityUuid
string No The uuid of community that you want to query about. This is a mandatory parameter
referenceId
string No The reference ID of the bookmark you wish to update
Output
Content Type: application/atom+xml
Code Description
200
OK. Indicates that the bookmark was successfully updated. If an error occurs, this header contains one of the error codes.
400
Bad Request.
403
Forbidden. The server refuses to fulfill a request, typically because the request was for an object that you don't have permission to access.
404
Not Found.
401
Unauthorized. Returned when no authenticated user or no userid, email, or key parameter are provided on the request.