To share a feed link with a community, send an Atom entry document containing the feed link to the community feed links resource.
You cannot share a link to a feed that requires authentication with a community.
See Authenticating requests
for information about how to authenticate the request.
Table 1. Atom API request details
Community feed links
Value of the href attribute of the <link> element with the rel="http://www.ibm.com/xmlns/prod/sn/feeds" attribute value for each community.
Provide a feed link Atom entry document.
The content type of the Atom entry document must be application/atom+xml
An Atom entry document containing the new feed link.
Returned HTTP headers
HTTP/1.1 201 Created
Indicates that the feed link was successfully created. If an error occurs, this header contains one of the error codes.Location: url
Link to edit_url of the feed link. You can use the web address specified here to subsequently retrieve and update the feed link.Error codes
Parent topic: Working with feed links
Feed link entry content
- HTTP/1.1 400 Bad Request
- HTTP/1.1 401 Unauthorized