Home
Create feed links
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.
Atom API request details
Method Resource URI Input representation POST 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. feed link
Input
Provide a feed link Atom entry document.The content type of the Atom entry document must be application/atom+xml.
Output
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 will contain one of the error codes below.
- 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
- HTTP/1.1 400 Bad Request
- HTTP/1.1 401 Unauthorized
Related reference