Community articleUpdating feed links
Added by IBM contributorIBM on March 14, 2014
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

To update a feed link, send an updated feed link document in Atom format to the existing feed link's edit web address.
Tags: commapi



To update a feed link, send an updated feed link document in Atom format to the existing feed link's edit web address.

You cannot share a link to a feed that requires authentication with a community.

All existing feed link 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 feed link, retrieve the existing tags, and send them all back with the new tag in the update request. See Retrieving a feed link for more information.

See Authenticating requests for information about how to authenticate the request.

Input

Provide a feed link Atom entry document. The content type of the Atom entry document must be application/atom+xml.

Output

None.

Input
Method URI Description
PUT /communities/service/atom/community/feeds Value of the href attribute of the <link> element that has a rel="edit" attribute value for each entry in the feed links feed.
Content Type: application/atom+xml
Name Type Optional Description
communityUuid
string No The UUID of the community which contains the feed you wish to update.
referenceId
string No The reference ID of the feed you wish to update
Output
Code Description
200
OK. Indicates that the feed link entry was successfully updated. If an error occurs, this header contains one of the error codes.
401
Unauthorized.
404
Not Found.