Community articleRetrieving a Related Community programmatically
Added by IBM contributorIBM on April 3, 2014
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

To retrieve complete information about a Related Community.


You can use this operation to obtain Relate Community information that you want to preserve prior to performing an update. This method returns the Atom entry of a single Related Community entry.

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

Input

None.

Output

An Atom entry document containing related community.
Input
Method URI Description
GET /communities/recomm/atom/relatedCommunity Retrieve related community. Value of the href attribute of <link> element that has a rel="edit" attribute for each entry in the Related Communities feed.
Name Type Optional Description
entryId
string No The database uuid of the entry.
Output
Content Type: application/atom+xml
Code Description
200
Indicates that the entry was successfully found and returned. If an error occurs, this header will contain one of the error codes below.
401
Unauthorized.
404
Not Found.