Creating a request to join a community
Added by IBM contributorIBM | Edited by Claudia R Elbourn on July 21, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Creating a request to join a community.
Tags: commapi

To request to join a community , send an Atom entry document containing the request to the community invitations-list resource.

Input
Method URI Description
POST /communities/service/atom/community/requestsToJoin Value of the href attribute of the <link> element with the rel="http://www.ibm.com/xmlns/prod/sn/requests-to-join" attribute value for each community.
Content Type: application/atom+xml
Name Type Optional Description
communityUuid
string No The UUID of the community you wish to send the request to.
Output
Content Type: application/atom+xml
Code Description
201
Created. Indicates that the invitation was successfully created. If an error occurs, this header contains one of the error codes.
403
Unauthorized.
404
Not Found.
409
Conflict. Returned if the user is already a member of the community.
Examples
<?xml version="1.0" encoding="UTF-8"?>
<entry xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns="http://www.w3.org/2005/Atom" xmlns:snx="http://www.ibm.com/xmlns/prod/sn">
<title type="text">ignored</title>
<content type="html">reason to join</content>
<contributor> <email>ajones4@janet.iris.com</email></contributor>
</entry>