Gets all communities

Returns a list of all the communities.

Request
GET
http://<webexsocial-server>/api/quad/rest/communities[?query_parameters]

Authentication Required

Supported since version 2.5

Example Request and Response
Request Response
GET /api/quad/rest/communities HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120314 Firefox/10.0.3
Accept: application/json
Accept-Encoding: gzip, deflate
Authorization: OAuth realm="http%3A%2F%2Flocalhost%2Fquadopen%2Fapi%2Frest%2Fcommunities",
oauth_signature_method="HMAC-SHA1",oauth_version="1.0",oauth_nonce="XfFaeC",oauth_timestamp="1334088074",
oauth_consumer_key="e2db636b06375eb99219ac8b962a4e95970511ef",oauth_token="b919e15d-066b-da89-194b-100346044386",
oauth_signature="TEHZ%2FeWZRzLwPT7TpJMXSFunQU4%3D"
Cookie: JSESSIONID=AEC88381AF608A76E33A7FA489377DB3.localhost.cisco.comjvm; 
JSESSIONID=574CC42C8DD5820F39DE603621F01CDE.localhost.cisco.comjvm; GUEST_LANGUAGE_ID=en_US; COOKIE_SUPPORT=true

            
HTTP/1.1 200 OK
Date: Tue, 10 Apr 2012 20:01:14 GMT
Server: Apache
x-quad-count: 5
Content-Encoding: gzip
Content-Length: 1068
Content-Type: application/json;charset=UTF-8

{
	"statusCode":200,
	"startIndex":0,
	"itemsPerPage":5,
	"totalResults":0,
	"filtered":false,
	"sorted":false,
	"entry":
		[
			{
				"data":
					{
						"category":
							{
								"approvalRequired":false,
								"description":"This is an all-purpose category that requires no approval",
								"id":1210044,
								"name":"General"
							},
						"creator":
							{
								"firstName":"Leonardo",
								"fullName":"Leonardo De Vinci",
								"id":3810053,
								"images":[],
								"jobTitle":"",
								"lastName":"De Vinci",
								"screenName":"leo"
							},
						"description":"We will discuss new and innovative inventions.",
						"id":3810411,
						"images":
							[
								{
									"image":
										{
											"id":1210046,
											"resource":"",
											"size":949,
											"published":0,
											"updated":1329935801760,
											"fileName":null,
											"mimeType":"jpg",
											"author":null,
											"uri":"/image/image_gallery?img_id=1210046",
											"height":31,"width":31
										},
									"sizeType":"medium1"
								},
								{
									"image":
										{
											"id":1210045,
											"resource":"",
											"size":853,
											"published":0,
											"updated":1329935801744,
											"fileName":null,
											"mimeType":"jpg",
											"author":null,
											"uri":"/image/image_gallery?img_id=1210045",
											"height":24,
											"width":24
										},
									"sizeType":"small"
								},
								{
									"image":
										{
											"id":1210048,
											"resource":"",
											"size":2613,
											"published":0,
											"updated":1329935801822,
											"fileName":null,
											"mimeType":"jpg",
											"author":null,
											"uri":"/image/image_gallery?img_id=1210048",
											"height":103,
											"width":103
										},
									"sizeType":"large"
								},
								{
									"image":
										{
											"id":1210047,
											"resource":"",
											"size":1392,
											"published":0,
											"updated":1329935801778,
											"fileName":null,
											"mimeType":"jpg",
											"author":null,
											"uri":"/image/image_gallery?img_id=1210047",
											"height":59,
											"width":59
										},
									"sizeType":"medium2"
								}
							],
						"liveDate":1333989620679,
						"name":"Inventions",
						"questionAnswers":null,
						"resource":"http://quad.cisco.com/schema/1.0/community",
						"shortName":"/inventions",
						"state":"live",
						"stateChangedDate":1333989620679,
						"tags":
							[
								{
									"id":3810509,
									"resource":"http://quad.cisco.com/schema/1.0/tag",
									"name":"invention",
									"type":null
								}
							],
						"type":"open",
						"userCount":4
					}
			},
			{
				"data":
					{
						"category":
							{
								"approvalRequired":false,
								"description":"This is an all-purpose category that requires no approval",
								"id":1210044,
								"name":"General"
							},
						"creator":
							{
								"firstName":"Test",
								"fullName":"Test Test",
								"id":10257,
								"images":[],
								"jobTitle":"",
								"lastName":"Test",
								"screenName":"test"
							},
						"description":"testing restrictions",
						"id":3810920,
						"images":
							[
								{
									"image":
										{
											"id":1210046,
											"resource":"",
											"size":949,
											"published":0,
											"updated":1329935801760,
											"fileName":null,
											"mimeType":"jpg",
											"author":null,
											"uri":"/image/image_gallery?img_id=1210046",
											"height":31,
											"width":31
										},
									"sizeType":"medium1"
								},
								{
									"image":
										{
											"id":1210045,
											"resource":"",
											"size":853,
											"published":0,
											"updated":1329935801744,
											"fileName":null,
											"mimeType":"jpg",
											"author":null,
											"uri":"/image/image_gallery?img_id=1210045",
											"height":24,"width":24
										},
									"sizeType":"small"
								},
								{
									"image":
										{
											"id":1210048,
											"resource":"",
											"size":2613,
											"published":0,
											"updated":1329935801822,
											"fileName":null,
											"mimeType":"jpg",
											"author":null,
											"uri":"/image/image_gallery?img_id=1210048",
											"height":103,
											"width":103
										},
									"sizeType":"large"
								},
								{
									"image":
										{
											"id":1210047,
											"resource":"",
											"size":1392,"published":0,
											"updated":1329935801778,
											"fileName":null,
											"mimeType":"jpg",
											"author":null,
											"uri":"/image/image_gallery?img_id=1210047",
											"height":59,"width":59
										},
									"sizeType":"medium2"
								}
							],
						"liveDate":1334086965925,
						"name":"It's Restricted",
						"questionAnswers":null,
						"resource":"http://quad.cisco.com/schema/1.0/community",
						"shortName":"/it-s-restricted",
						"state":"live",
						"stateChangedDate":1334086965925,
						"tags":
							[
								{
									"id":3811026,
									"resource":"http://quad.cisco.com/schema/1.0/tag",
									"name":"restricted",
									"type":null
								}
							],
						"type":"restricted",
						"userCount":1
					}
			},
			{
				"data":
					{
						"category":
							{
								"approvalRequired":false,
								"description":"This is an all-purpose category that requires no approval",
								"id":1210044,"name":"General"
							},
						"creator":
							{
								"firstName":"Albert",
								"fullName":"Albert Einstein",
								"id":3810077,
								"images":[],
								"jobTitle":"",
								"lastName":"Einstein",
								"screenName":"albert"
							},
						"description":"Discuss math issues and ideas.",
						"id":3810593,
						"images":
							[
								{
									"image":
										{
											"id":1210046,
											"resource":"",
											"size":949,
											"published":0,
											"updated":1329935801760,
											"fileName":null,
											"mimeType":"jpg",
											"author":null,
											"uri":"/image/image_gallery?img_id=1210046",
											"height":31,
											"width":31
										},
									"sizeType":"medium1"
								},
								{
									"image":
										{
											"id":1210045,
											"resource":"",
											"size":853,
											"published":0,
											"updated":1329935801744,
											"fileName":null,
											"mimeType":"jpg",
											"author":null,
											"uri":"/image/image_gallery?img_id=1210045",
											"height":24,
											"width":24
										},
									"sizeType":"small"
								},
								{
									"image":
										{
											"id":1210048,
											"resource":"",
											"size":2613,
											"published":0,
											"updated":1329935801822,
											"fileName":null,
											"mimeType":"jpg",
											"author":null,
											"uri":"/image/image_gallery?img_id=1210048",
											"height":103,"width":103
										},"sizeType":"large"
								},
								{
									"image":
										{
											"id":1210047,
											"resource":"",
											"size":1392,
											"published":0,
											"updated":1329935801778,
											"fileName":null,
											"mimeType":"jpg",
											"author":null,
											"uri":"/image/image_gallery?img_id=1210047",
											"height":59,
											"width":59
										},
									"sizeType":"medium2"
								}
							],
						"liveDate":1333989911444,
						"name":"Math",
						"questionAnswers":null,
						"resource":"http://quad.cisco.com/schema/1.0/community",
						"shortName":"/math",
						"state":"live",
						"stateChangedDate":1333989911444,
						"tags":
							[
								{
									"id":3810691,
									"resource":"http://quad.cisco.com/schema/1.0/tag","name":"math","type":null
								}
							],
						"type":"open",
						"userCount":1
					}
			},
			{
				"data":
					{
						"category":
							{
								"approvalRequired":false,
								"description":"This is an all-purpose category that requires no approval",
								"id":1210044,
								"name":"General"
							},
						"creator":
							{
								"firstName":"Test",
								"fullName":"Test Test","
								id":10257,
								"images":[],
								"jobTitle":"",
								"lastName":"Test",
								"screenName":"test"
							},
						"description":"All must follow the regulations group.",
						"id":3810243,
						"images":
							[
								{
									"image":
										{
											"id":1210046,
											"resource":"",
											"size":949,
											"published":0,
											"updated":1329935801760,
											"fileName":null,
											"mimeType":"jpg",
											"author":null,
											"uri":"/image/image_gallery?img_id=1210046",
											"height":31,
											"width":31
										},
									"sizeType":"medium1"
								},
								{
									"image":
										{
											"id":1210045,
											"resource":"",
											"size":853,
											"published":0,
											"updated":1329935801744,
											"fileName":null,
											"mimeType":"jpg",
											"author":null,
											"uri":"/image/image_gallery?img_id=1210045",
											"height":24,"width":24
										},
									"sizeType":"small"
								},
								{
									"image":
										{
											"id":1210048,
											"resource":"",
											"size":2613,
											"published":0,
											"updated":1329935801822,
											"fileName":null,
											"mimeType":"jpg",
											"author":null,
											"uri":"/image/image_gallery?img_id=1210048",
											"height":103,
											"width":103
										},
									"sizeType":"large"
								},
								{
									"image":
										{
											"id":1210047,
											"resource":"",
											"size":1392,
											"published":0,
											"updated":1329935801778,
											"fileName":null,
											"mimeType":"jpg",
											"author":null,
											"uri":"/image/image_gallery?img_id=1210047",
											"height":59,
											"width":59
										},
									"sizeType":"medium2"
								}
							],
						"liveDate":1333988806002,
						"name":"Regulations",
						"questionAnswers":null,
						"resource":"http://quad.cisco.com/schema/1.0/community",
						"shortName":"/regulations",
						"state":"live",
						"stateChangedDate":1333988806002,
						"tags":
							[
								{
									"id":3810340,
									"resource":"http://quad.cisco.com/schema/1.0/tag",
									"name":"regulation","type":null
								}
							],
						"type":"open",
						"userCount":5
					}
			},
			{
				"data":
					{
						"category":
							{
								"approvalRequired":false,
								"description":"This is an all-purpose category that requires no approval",
								"id":1210044,
								"name":"General"
							},
						"creator":
							{
								"firstName":"Test",
								"fullName":"Test Test",
								"id":10257,
								"images":[],
								"jobTitle":"",
								"lastName":"Test",
								"screenName":"test"
							},
						"description":"This community is here to discuss testing methods.",
						"id":3810126,
						"images":
							[
								
								{
									"image":
										{
											"id":1210046,
											"resource":"",
											"size":949,
											"published":0,
											"updated":1329935801760,
											"fileName":null,
											"mimeType":"jpg",
											"author":null,
											"uri":"/image/image_gallery?img_id=1210046",
											"height":31,
											"width":31
										},
									"sizeType":"medium1"
								},
								{
									"image":
										{
											"id":1210045,
											"resource":"",
											"size":853,
											"published":0,
											"updated":1329935801744,
											"fileName":null,
											"mimeType":"jpg",
											"author":null,
											"uri":"/image/image_gallery?img_id=1210045",
											"height":24,
											"width":24
										},
									"sizeType":"small"
								},
								{
									"image":
										{
											"id":1210048,
											"resource":"",
											"size":2613,
											"published":0,
											"updated":1329935801822,
											"fileName":null,
											"mimeType":"jpg",
											"author":null,
											"uri":"/image/image_gallery?img_id=1210048",
											"height":103,
											"width":103
										},
									"sizeType":"large"
								},
								{
									"image":
										{
											"id":1210047,
											"resource":"",
											"size":1392,
											"published":0,
											"updated":1329935801778,
											"fileName":null,
											"mimeType":"jpg",
											"author":null,
											"uri":"/image/image_gallery?img_id=1210047",
											"height":59,
											"width":59
										},
									"sizeType":"medium2"
								}
							],
						"liveDate":1333988814110,
						"name":"Testing",
						"questionAnswers":null,
						"resource":"http://quad.cisco.com/schema/1.0/community",
						"shortName":"/testing",
						"state":"live",
						"stateChangedDate":1333988814110,
						"tags":
							[
								{
									"id":3810226,
									"resource":"http://quad.cisco.com/schema/1.0/tag",
									"name":"qa","type":null
								},
								{
									"id":3810224,
									"resource":"http://quad.cisco.com/schema/1.0/tag",
									"name":"testing",
									"type":null
								}
							],
						"type":"open","userCount":3
					}
			}
		],
	"serverMessages":null
}

	

Get all membership requests

Returns a list of all requests for a specific community.

Request
GET
http://<webexsocial-server>/api/quad/rest/communtities/{community-id}/membershiprequests[?query_parameters]

Authentication Required

Supported since version 2.5

Example Request and Response
Request Response
GET /api/quad/rest/communities/3810920/membershiprequests HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120314 Firefox/10.0.3
Accept: application/json
Accept-Encoding: gzip, deflate
Authorization: OAuth realm="http%3A%2F%2Flocalhost%2Fquadopen%2Fapi%2Frest%2Fcommunities%2F3810920%2Fmembershiprequests",
oauth_signature_method="HMAC-SHA1",oauth_version="1.0",oauth_nonce="IJr2yT",oauth_timestamp="1334088161",
oauth_consumer_key="e2db636b06375eb99219ac8b962a4e95970511ef",oauth_token="b919e15d-066b-da89-194b-100346044386",
oauth_signature="v6ur7YAQNAnyFy4948QkoDn6P1o%3D"
Cookie: JSESSIONID=AEC88381AF608A76E33A7FA489377DB3.localhost.cisco.comjvm; 
JSESSIONID=574CC42C8DD5820F39DE603621F01CDE.localhost.cisco.comjvm; GUEST_LANGUAGE_ID=en_US; COOKIE_SUPPORT=true

            
HTTP/1.1 200 OK
Date: Tue, 10 Apr 2012 20:02:41 GMT
Server: Apache
x-quad-count: 2
Content-Encoding: gzip
Content-Length: 457
Content-Type: application/json;charset=UTF-8

{
	"statusCode":200,
	"startIndex":0,
	"itemsPerPage":2,
	"totalResults":0,
	"filtered":false,
	"sorted":false,
	"entry":
		[
			{
				"data":
					{
						"approver":null,
						"community":
							{
								"description":"testing restrictions",
								"id":3810920,
								"name":"It's Restricted",
								"shortName":"/it-s-restricted",
								"state":"live",
								"type":"restricted"
							},
						"createDate":1334087051195,
						"id":3811033,
						"replyComments":"",
						"replyDate":0,
						"requestComments":"Outstanding.",
						"requester":
							{
								"firstName":"Jane",
								"fullName":"Jane Doe",
								"id":3810029,
								"images":[],
								"jobTitle":"",
								"lastName":"Doe",
								"screenName":"jdoe1"
							},
						"resource":"http://quad.cisco.com/schema/1.0/membershiprequest",
						"status":"pending"
					}
			},
			{
				"data":
					{
						"approver":null,
						"community":
							{
								"description":"testing restrictions",
								"id":3810920,
								"name":"It's Restricted",
								"shortName":"/it-s-restricted",
								"state":"live",
								"type":"restricted"
							},
						"createDate":1334087002006,
						"id":3811032,
						"replyComments":"",
						"replyDate":0,
						"requestComments":"I need this.",
						"requester":
							{
								"firstName":"Leonardo",
								"fullName":"Leonardo De Vinci",
								"id":3810053,
								"images":[],
								"jobTitle":"",
								"lastName":"De Vinci",
								"screenName":"leo"
							},
						"resource":"http://quad.cisco.com/schema/1.0/membershiprequest",
						"status":"pending"
					}
			}
		],
	"serverMessages":null
}

	

Get approved membership requests for a specific community

Returns a list of all approved requests for a specific community.

Request
GET
http://<webexsocial-server>/api/quad/rest/communtities/{community-id}/membershiprequests?filterBy=status&filterValue=approved

Authentication Required

Supported since version 2.5

Example Request and Response
Request Response
GET /quadopen/api/rest/communities/3810920/membershiprequests?filterBy=status&filterValue=approved HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120314 Firefox/10.0.3
Accept: application/json
Accept-Encoding: gzip, deflate
Authorization: OAuth realm="http%3A%2F%2Flocalhost%2Fquadopen%2Fapi%2Frest%2Fcommunities%2F3810920%2Fmembershiprequests",
oauth_signature_method="HMAC-SHA1",oauth_version="1.0",oauth_nonce="OnARUg",oauth_timestamp="1334331808",
oauth_consumer_key="14cf2e7b8781ca4108e2b6ecceccb2fd5e5f7ba3",oauth_token="b0e0af64-b125-a73e-942f-80a3126740e6",
oauth_signature="d2QODCjuSr5S4ArOAwVvkPeD1uQ%3D"
Cookie: JSESSIONID=6087FA823F44ABA0C992C11D508AAC6B.localhost.cisco.comjvm; 
JSESSIONID=BF0FD473B5696F45805F8E0F832821E0.localhost.cisco.comjvm; GUEST_LANGUAGE_ID=en_US; COOKIE_SUPPORT=true

            
HTTP/1.1 200 OK
Date: Fri, 13 Apr 2012 15:43:28 GMT
Server: Apache
x-quad-count: 1
Content-Encoding: gzip
Content-Length: 431
Content-Type: application/json;charset=UTF-8

{
	"statusCode":200,
	"startIndex":0,
	"itemsPerPage":1,
	"totalResults":0,
	"filtered":true,
	"sorted":false,
	"entry":
		[
			{
				"data":
					{
						"approver":
							{
								"firstName":"Test",
								"fullName":"Test Test",
								"id":10257,
								"images":[],
								"jobTitle":"",
								"lastName":"Test",
								"screenName":"test"
							},
						"community":
							{
								"description":"testing restrictions",
								"id":3810920,
								"name":"It's Restricted",
								"shortName":"/it-s-restricted",
								"state":"live",
								"type":"restricted"
							},
						"createDate":1334087051195,
						"id":3811033,
						"replyComments":"Your approved.",
						"replyDate":1334331215777,
						"requestComments":"Outstanding.",
						"requester":
							{
								"firstName":"Jane",
								"fullName":"Jane Doe",
								"id":3810029,
								"images":[],
								"jobTitle":"",
								"lastName":"Doe",
								"screenName":"jdoe1"
							},
						"resource":"http://quad.cisco.com/schema/1.0/membershiprequest",
						"status":"approved"
					}
			}
		],
	"serverMessages":null
}


		

Get denied membership requests for a specific community

Returns a list of all denied requests for a specific community.

Request
GET
http://<webexsocial-server>/api/quad/rest/communtities/{community-id}/membershiprequests?filterBy=status&filterValue=denied

Authentication Required

Supported since version 2.5

Example Request and Response
Request Response
GET /quadopen/api/rest/communities/3810920/membershiprequests?filterBy=status&filterValue=denied HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120314 Firefox/10.0.3
Accept: application/json
Accept-Encoding: gzip, deflate
Authorization: OAuth realm="http%3A%2F%2Flocalhost%2Fquadopen%2Fapi%2Frest%2Fcommunities%2F3810920%2Fmembershiprequests",
oauth_signature_method="HMAC-SHA1",oauth_version="1.0",oauth_nonce="9h3yPE",oauth_timestamp="1334331901",
oauth_consumer_key="14cf2e7b8781ca4108e2b6ecceccb2fd5e5f7ba3",oauth_token="b0e0af64-b125-a73e-942f-80a3126740e6",
oauth_signature="wt%2F%2F7Lek4%2F4jVsaKx7CHjxaH51g%3D"
Cookie: JSESSIONID=6087FA823F44ABA0C992C11D508AAC6B.localhost.cisco.comjvm; 
JSESSIONID=BF0FD473B5696F45805F8E0F832821E0.localhost.cisco.comjvm; GUEST_LANGUAGE_ID=en_US; COOKIE_SUPPORT=true

            
HTTP/1.1 200 OK
Date: Fri, 13 Apr 2012 15:45:01 GMT
Server: Apache
x-quad-count: 1
Content-Encoding: gzip
Content-Length: 425
Content-Type: application/json;charset=UTF-8

{
	"statusCode":200,
	"startIndex":0,
	"itemsPerPage":1,
	"totalResults":0,
	"filtered":true,
	"sorted":false,
	"entry":
		[
			{
				"data":
					{
						"approver":
							{
								"firstName":"Test",
								"fullName":"Test Test",
								"id":10257,
								"images":[],
								"jobTitle":"",
								"lastName":"Test",
								"screenName":"test"
							},
						"community":
							{
								"description":"testing restrictions",
								"id":3810920,
								"name":"It's Restricted",
								"shortName":"/it-s-restricted",
								"state":"live",
								"type":"restricted"
							},
						"createDate":1334331649045,
						"id":3811047,
						"replyComments":"Nope",
						"replyDate":1334331712982,
						"requestComments":"Let me in.",
						"requester":
							{
								"firstName":"Albert",
								"fullName":"Albert Einstein",
								"id":3810077,
								"images":[],
								"jobTitle":"",
								"lastName":"Einstein",
								"screenName":"albert"
							},
						"resource":"http://quad.cisco.com/schema/1.0/membershiprequest",
						"status":"denied"
					}
			}
		],
	"serverMessages":null
}


	

Get details for a community

Returns the details for the specified community

Request
GET
http://<webexsocial-server>/api/quad/rest/communities/{community-id}

Authentication Required

Supported since version 2.5

Example Request and Response
Request Response
GET /api/quad/rest/communities/510204 HTTP/1.0
Host: quad-server
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
Accept: application/json
Accept-Encoding: gzip, deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Authorization: OAuth realm="http%3A%2F%2Fquad-server%2Fquadopen%2Fapi%2Frest%2Fcommunities%2F510204",
oauth_signature_method="HMAC-SHA1",oauth_version="1.0",
oauth_nonce="gPBvz3",oauth_timestamp="1329427034",
oauth_consumer_key="7db9a0ca1a64d825b9d6967a16b53fec3367c515",
oauth_token="9e77a4d3-1d66-90a3-e27b-b7b2cb57404d",
oauth_signature="swSoEmAk1X0EapDr9HPvVLIj0%2FE%3D"
HTTP/1.1 200 OK
Date: Thu, 16 Feb 2012 21:17:14 GMT
Server: Apache
WWW-Authenticate: Basic realm="http://quad-server"
Content-Encoding: gzip
Content-Length: 652
Connection: close
Content-Type: application/json
{
    "statusCode": 200,
    "startIndex": 0,
    "itemsPerPage": 1,
    "totalResults": 0,
    "filtered": false,
    "sorted": false,
    "entry": [
        {
            "data": {
                "category": {
                    "approvalRequired": false,
                    "description": "This is an all-purpose category that requires no approval",
                    "id": 310051,
                    "name": "General"
                },
                "creator": {
                    "firstName": "Mary",
                    "fullName": "Mary Sample",
                    "id": 510114,
                    "images": [],
                    "jobTitle": "",
                    "lastName": "Sample",
                    "screenName": "msample"
                },
                "description": "for testing apis",
                "id": 510204,
                "images": [
                    {
                        "image": {
                            "id": 510987,
                            "resource": "",
                            "size": 1436,
                            "published": 0,
                            "updated": 1319227674868,
                            "fileName": null,
                            "mimeType": "jpg",
                            "author": null,
                            "uri": "/image/image_gallery?img_id=510987",
                            "height": 41,
                            "width": 41
                        },
                        "sizeType": "large"
                    },
                    {
                        "image": {
                            "id": 510985,
                            "resource": "",
                            "size": 1099,
                            "published": 0,
                            "updated": 1319227674847,
                            "fileName": null,
                            "mimeType": "jpg",
                            "author": null,
                            "uri": "/image/image_gallery?img_id=510985",
                            "height": 32,
                            "width": 32
                        },
                        "sizeType": "medium1"
                    },
                    {
                        "image": {
                            "id": 510984,
                            "resource": "",
                            "size": 946,
                            "published": 0,
                            "updated": 1319227674836,
                            "fileName": null,
                            "mimeType": "jpg",
                            "author": null,
                            "uri": "/image/image_gallery?img_id=510984",
                            "height": 24,
                            "width": 24
                        },
                        "sizeType": "small"
                    },
                    {
                        "image": {
                            "id": 510986,
                            "resource": "",
                            "size": 1436,
                            "published": 0,
                            "updated": 1319227674858,
                            "fileName": null,
                            "mimeType": "jpg",
                            "author": null,
                            "uri": "/image/image_gallery?img_id=510986",
                            "height": 41,
                            "width": 41
                        },
                        "sizeType": "medium2"
                    }
                ],
                "liveDate": 1318886791943,
                "name": "Test Quad Community",
                "questionAnswers": null,
                "resource": "http://quad.cisco.com/schema/1.0/community",
                "shortName": "/test-quad-community",
                "state": "live",
                "stateChangedDate": 1318886791943,
                "tags": [
                    {
                        "id": 510301,
                        "resource": "http://quad.cisco.com/schema/1.0/tag",
                        "name": "testing",
                        "type": null
                    }
                ],
                "type": "open",
                "userCount": 5
            }
        }
    ],
    "serverMessages": null
}
	

Get pending membership requests for a specific community

Returns a list of all pending requests for a specific community.

Request
GET
http://<webexsocial-server>/api/quad/rest/communtities/{community-id}/membershiprequests?filterBy=status&filterValue=pending

Authentication Required

Supported since version 2.5

Example Request and Response
Request Response
GET /quadopen/api/rest/communities/3810920/membershiprequests?filterBy=status&filterValue=pending HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120314 Firefox/10.0.3
Accept: application/json
Accept-Encoding: gzip, deflate
Authorization: OAuth realm="http%3A%2F%2Flocalhost%2Fquadopen%2Fapi%2Frest%2Fcommunities%2F3810920%2Fmembershiprequests",
oauth_signature_method="HMAC-SHA1",oauth_version="1.0",oauth_nonce="v1GyC7",oauth_timestamp="1334331850",
oauth_consumer_key="14cf2e7b8781ca4108e2b6ecceccb2fd5e5f7ba3",oauth_token="b0e0af64-b125-a73e-942f-80a3126740e6",
oauth_signature="ND9s8%2Fm%2FJmeZDR03%2FwoOUFQ9xH4%3D"
Cookie: JSESSIONID=6087FA823F44ABA0C992C11D508AAC6B.localhost.cisco.comjvm; 
JSESSIONID=BF0FD473B5696F45805F8E0F832821E0.localhost.cisco.comjvm; GUEST_LANGUAGE_ID=en_US; COOKIE_SUPPORT=true

            
HTTP/1.1 200 OK
Date: Fri, 13 Apr 2012 15:44:10 GMT
Server: Apache
x-quad-count: 1
Content-Encoding: gzip
Content-Length: 403
Content-Type: application/json;charset=UTF-8

{
	"statusCode":200,
	"startIndex":0,
	"itemsPerPage":1,
	"totalResults":0,
	"filtered":true,
	"sorted":false,
	"entry":
		[
			{
				"data":
					{
						"approver":null,
						"community":
							{
								"description":"testing restrictions",
								"id":3810920,
								"name":"It's Restricted",
								"shortName":"/it-s-restricted",
								"state":"live",
								"type":"restricted"
							},
						"createDate":1334087002006,
						"id":3811032,
						"replyComments":"",
						"replyDate":0,
						"requestComments":"I need this.",
						"requester":
							{
								"firstName":"Leonardo",
								"fullName":"Leonardo De Vinci",
								"id":3810053,
								"images":[],
								"jobTitle":"",
								"lastName":"De Vinci",
								"screenName":"leo"
							},
						"resource":"http://quad.cisco.com/schema/1.0/membershiprequest",
						"status":"pending"
					}
			}
		],
	"serverMessages":null
}


	

Get posts for a community

Retrieves information about posts that have been shared with a community. Results can be filtered using query string parameters (see reference guide for details).

Request
GET
http://<webexsocial-server>/api/quad/rest/communities/{community-id}/posts

Authentication Required

Supported since version 2.5

Example Request and Response
Request Response
GET /api/quad/rest/communities/510204/posts HTTP/1.0
Host: quad-server
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
Accept: application/json
Accept-Encoding: gzip, deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Authorization: OAuth realm="http%3A%2F%2Fquad-server%2Fquadopen%2Fapi%2Frest%2Fcommunities%2F510204%2Fposts",
oauth_signature_method="HMAC-SHA1",
oauth_version="1.0",oauth_nonce="4BXs9L",
oauth_timestamp="1329427273",
oauth_consumer_key="7db9a0ca1a64d825b9d6967a16b53fec3367c515",
oauth_token="9e77a4d3-1d66-90a3-e27b-b7b2cb57404d",
oauth_signature="y3buznzNRmEFMW7Jd7AvObjFuSo%3D"
HTTP/1.1 200 OK
Date: Thu, 16 Feb 2012 21:21:13 GMT
Server: Apache
WWW-Authenticate: Basic realm="http://quad-server"
x-quad-count: 2
Content-Encoding: gzip
Content-Length: 1488
Connection: close
Content-Type: application/json

{
    "statusCode": 200,
    "startIndex": 0,
    "itemsPerPage": 2,
    "totalResults": 0,
    "filtered": false,
    "sorted": false,
    "entry": [
        {
            "": {
                "attachments": [],
                "body": "a post with an image! ",
                "commentCount": 0,
                "createDate": 1325631742000,
                "creator": {
                    "firstName": "Test",
                    "fullName": "Test Test",
                    "id": 10382,
                    "images": [
                        {
                            "image": {
                                "id": 510870,
                                "resource": "",
                                "size": 4621,
                                "published": 0,
                                "updated": 1319055970732,
                                "fileName": null,
                                "mimeType": "jpg",
                                "author": null,
                                "uri": "/image/user_portrait?img_id=510870&t=1319055970732",
                                "height": 103,
                                "width": 103
                            },
                            "sizeType": "large"
                        },
                        {
                            "image": {
                                "id": 510872,
                                "resource": "",
                                "size": 855,
                                "published": 0,
                                "updated": 1319055970671,
                                "fileName": null,
                                "mimeType": "jpg",
                                "author": null,
                                "uri": "/image/user_portrait?img_id=510872&t=1319055970671",
                                "height": 24,
                                "width": 24
                            },
                            "sizeType": "small"
                        },
                        {
                            "image": {
                                "id": 510873,
                                "resource": "",
                                "size": 985,
                                "published": 0,
                                "updated": 1319055970688,
                                "fileName": null,
                                "mimeType": "jpg",
                                "author": null,
                                "uri": "/image/user_portrait?img_id=510873&t=1319055970688",
                                "height": 31,
                                "width": 31
                            },
                            "sizeType": "medium1"
                        },
                        {
                            "image": {
                                "id": 510874,
                                "resource": "",
                                "size": 1867,
                                "published": 0,
                                "updated": 1319055970706,
                                "fileName": null,
                                "mimeType": "jpg",
                                "author": null,
                                "uri": "/image/user_portrait?img_id=510874&t=1319055970706",
                                "height": 59,
                                "width": 59
                            },
                            "sizeType": "medium2"
                        }
                    ],
                    "jobTitle": "",
                    "lastName": "Test",
                    "screenName": "test"
                },
                "editCount": 0,
                "externalPost": false,
                "hasAttachments": false,
                "id": 1100009,
                "lastModifiedDate": 1325631742000,
                "lastModifier": {
                    "firstName": "Test",
                    "fullName": "Test Test",
                    "id": 10382,
                    "images": [
                        {
                            "image": {
                                "id": 510870,
                                "resource": "",
                                "size": 4621,
                                "published": 0,
                                "updated": 1319055970732,
                                "fileName": null,
                                "mimeType": "jpg",
                                "author": null,
                                "uri": "/image/user_portrait?img_id=510870&t=1319055970732",
                                "height": 103,
                                "width": 103
                            },
                            "sizeType": "large"
                        },
                        {
                            "image": {
                                "id": 510872,
                                "resource": "",
                                "size": 855,
                                "published": 0,
                                "updated": 1319055970671,
                                "fileName": null,
                                "mimeType": "jpg",
                                "author": null,
                                "uri": "/image/user_portrait?img_id=510872&t=1319055970671",
                                "height": 24,
                                "width": 24
                            },
                            "sizeType": "small"
                        },
                        {
                            "image": {
                                "id": 510873,
                                "resource": "",
                                "size": 985,
                                "published": 0,
                                "updated": 1319055970688,
                                "fileName": null,
                                "mimeType": "jpg",
                                "author": null,
                                "uri": "/image/user_portrait?img_id=510873&t=1319055970688",
                                "height": 31,
                                "width": 31
                            },
                            "sizeType": "medium1"
                        },
                        {
                            "image": {
                                "id": 510874,
                                "resource": "",
                                "size": 1867,
                                "published": 0,
                                "updated": 1319055970706,
                                "fileName": null,
                                "mimeType": "jpg",
                                "author": null,
                                "uri": "/image/user_portrait?img_id=510874&t=1319055970706",
                                "height": 59,
                                "width": 59
                            },
                            "sizeType": "medium2"
                        }
                    ],
                    "jobTitle": "",
                    "lastName": "Test",
                    "screenName": "test"
                },
                "lastTransactionTime": 0,
                "lastTransactionType": "",
                "lastTransactionUser": null,
                "permissions": [
                    {
                        "principal": {
                            "id": 510204,
                            "resource": "http://quad.cisco.com/schema/1.0/community",
                            "creator": {
                                "id": 510114,
                                "resource": "http://quad.cisco.com/schema/1.0/user",
                                "firstName": "Mary",
                                "lastName": "Sample",
                                "fullName": "Mary Sample",
                                "screenName": "msample",
                                "images": [],
                                "startWorkHour": 10,
                                "endWorkHour": -1,
                                "timeZone": "America/New_York",
                                "jobTitle": "",
                                "friendlyJobTitle": "",
                                "addresses": [],
                                "emails": [
                                    {
                                        "id": 0,
                                        "resource": "http://quad.cisco.com/schema/1.0/email",
                                        "address": "msample@ds-sasg.com",
                                        "primary": true
                                    }
                                ],
                                "phones": [],
                                "tags": [
                                    {
                                        "id": 1810282,
                                        "resource": "http://quad.cisco.com/schema/1.0/tag",
                                        "name": "hello",
                                        "type": null
                                    }
                                ]
                            },
                            "name": "Test Quad Community",
                            "description": "for testing apis",
                            "shortName": "/test-quad-community",
                            "type": "open",
                            "category": {
                                "id": 310051,
                                "resource": "http://quad.cisco.com/schema/1.0/communitycategory",
                                "name": "General",
                                "description": "This is an all-purpose category that requires no approval",
                                "creator": {
                                    "id": 10198,
                                    "resource": "http://quad.cisco.com/schema/1.0/user",
                                    "firstName": "",
                                    "lastName": "",
                                    "fullName": " ",
                                    "screenName": "10198",
                                    "images": [],
                                    "startWorkHour": -1,
                                    "endWorkHour": -1,
                                    "timeZone": "America/Los_Angeles",
                                    "jobTitle": "",
                                    "friendlyJobTitle": "",
                                    "addresses": [],
                                    "emails": [
                                        {
                                            "id": 0,
                                            "resource": "http://quad.cisco.com/schema/1.0/email",
                                            "address": "default@cisco.com",
                                            "primary": true
                                        }
                                    ],
                                    "phones": [],
                                    "tags": []
                                },
                                "approvalRequired": false,
                                "modifiedDate": 1318001994978,
                                "generalCategory": true,
                                "questions": [],
                                "images": null
                            },
                            "state": "live",
                            "userCount": 5,
                            "stateChangedDate": 1318886791943,
                            "liveDate": 1318886791943,
                            "questionAnswers": null,
                            "tags": [
                                {
                                    "id": 510301,
                                    "resource": "http://quad.cisco.com/schema/1.0/tag",
                                    "name": "testing",
                                    "type": null
                                }
                            ],
                            "images": [
                                {
                                    "image": {
                                        "id": 510987,
                                        "resource": "",
                                        "size": 1436,
                                        "published": 0,
                                        "updated": 1319227674868,
                                        "fileName": null,
                                        "mimeType": "jpg",
                                        "author": null,
                                        "uri": "/image/image_gallery?img_id=510987",
                                        "height": 41,
                                        "width": 41
                                    },
                                    "sizeType": "large"
                                },
                                {
                                    "image": {
                                        "id": 510985,
                                        "resource": "",
                                        "size": 1099,
                                        "published": 0,
                                        "updated": 1319227674847,
                                        "fileName": null,
                                        "mimeType": "jpg",
                                        "author": null,
                                        "uri": "/image/image_gallery?img_id=510985",
                                        "height": 32,
                                        "width": 32
                                    },
                                    "sizeType": "medium1"
                                },
                                {
                                    "image": {
                                        "id": 510984,
                                        "resource": "",
                                        "size": 946,
                                        "published": 0,
                                        "updated": 1319227674836,
                                        "fileName": null,
                                        "mimeType": "jpg",
                                        "author": null,
                                        "uri": "/image/image_gallery?img_id=510984",
                                        "height": 24,
                                        "width": 24
                                    },
                                    "sizeType": "small"
                                },
                                {
                                    "image": {
                                        "id": 510986,
                                        "resource": "",
                                        "size": 1436,
                                        "published": 0,
                                        "updated": 1319227674858,
                                        "fileName": null,
                                        "mimeType": "jpg",
                                        "author": null,
                                        "uri": "/image/image_gallery?img_id=510986",
                                        "height": 41,
                                        "width": 41
                                    },
                                    "sizeType": "medium2"
                                }
                            ]
                        },
                        "permissionFlags": {
                            "view": true,
                            "edit": true,
                            "comment": true,
                            "share": true,
                            "authorize": false
                        }
                    },
                    {
                        "principal": {
                            "id": 10382,
                            "resource": "http://quad.cisco.com/schema/1.0/user",
                            "firstName": "Test",
                            "lastName": "Test",
                            "fullName": "Test Test",
                            "screenName": "test",
                            "images": [
                                {
                                    "image": {
                                        "id": 510870,
                                        "resource": "",
                                        "size": 4621,
                                        "published": 0,
                                        "updated": 1319055970732,
                                        "fileName": null,
                                        "mimeType": "jpg",
                                        "author": null,
                                        "uri": "/image/user_portrait?img_id=510870&t=1319055970732",
                                        "height": 103,
                                        "width": 103
                                    },
                                    "sizeType": "large"
                                },
                                {
                                    "image": {
                                        "id": 510872,
                                        "resource": "",
                                        "size": 855,
                                        "published": 0,
                                        "updated": 1319055970671,
                                        "fileName": null,
                                        "mimeType": "jpg",
                                        "author": null,
                                        "uri": "/image/user_portrait?img_id=510872&t=1319055970671",
                                        "height": 24,
                                        "width": 24
                                    },
                                    "sizeType": "small"
                                },
                                {
                                    "image": {
                                        "id": 510873,
                                        "resource": "",
                                        "size": 985,
                                        "published": 0,
                                        "updated": 1319055970688,
                                        "fileName": null,
                                        "mimeType": "jpg",
                                        "author": null,
                                        "uri": "/image/user_portrait?img_id=510873&t=1319055970688",
                                        "height": 31,
                                        "width": 31
                                    },
                                    "sizeType": "medium1"
                                },
                                {
                                    "image": {
                                        "id": 510874,
                                        "resource": "",
                                        "size": 1867,
                                        "published": 0,
                                        "updated": 1319055970706,
                                        "fileName": null,
                                        "mimeType": "jpg",
                                        "author": null,
                                        "uri": "/image/user_portrait?img_id=510874&t=1319055970706",
                                        "height": 59,
                                        "width": 59
                                    },
                                    "sizeType": "medium2"
                                }
                            ],
                            "startWorkHour": 0,
                            "endWorkHour": 0,
                            "timeZone": "America/Los_Angeles",
                            "jobTitle": "",
                            "friendlyJobTitle": null,
                            "addresses": null,
                            "emails": null,
                            "phones": null,
                            "tags": null
                        },
                        "permissionFlags": {
                            "view": true,
                            "edit": true,
                            "comment": true,
                            "share": true,
                            "authorize": true
                        }
                    }
                ],
                "publicPost": false,
                "resource": "http://quad.cisco.com/schema/1.0/post",
                "rootMessageId": 1810126,
                "state": "ACTIVE",
                "summary": "a post with an image! ",
                "tags": [],
                "title": "yep, it's another post",
                "type": "TEXT",
                "version": 1
            }
        },
        {
            "": {
                "attachments": [],
                "body": "new post",
                "commentCount": 0,
                "createDate": 1325199457000,
                "creator": {
                    "firstName": "Test",
                    "fullName": "Test Test",
                    "id": 10382,
                    "images": [
                        {
                            "image": {
                                "id": 510870,
                                "resource": "",
                                "size": 4621,
                                "published": 0,
                                "updated": 1319055970732,
                                "fileName": null,
                                "mimeType": "jpg",
                                "author": null,
                                "uri": "/image/user_portrait?img_id=510870&t=1319055970732",
                                "height": 103,
                                "width": 103
                            },
                            "sizeType": "large"
                        },
                        {
                            "image": {
                                "id": 510872,
                                "resource": "",
                                "size": 855,
                                "published": 0,
                                "updated": 1319055970671,
                                "fileName": null,
                                "mimeType": "jpg",
                                "author": null,
                                "uri": "/image/user_portrait?img_id=510872&t=1319055970671",
                                "height": 24,
                                "width": 24
                            },
                            "sizeType": "small"
                        },
                        {
                            "image": {
                                "id": 510873,
                                "resource": "",
                                "size": 985,
                                "published": 0,
                                "updated": 1319055970688,
                                "fileName": null,
                                "mimeType": "jpg",
                                "author": null,
                                "uri": "/image/user_portrait?img_id=510873&t=1319055970688",
                                "height": 31,
                                "width": 31
                            },
                            "sizeType": "medium1"
                        },
                        {
                            "image": {
                                "id": 510874,
                                "resource": "",
                                "size": 1867,
                                "published": 0,
                                "updated": 1319055970706,
                                "fileName": null,
                                "mimeType": "jpg",
                                "author": null,
                                "uri": "/image/user_portrait?img_id=510874&t=1319055970706",
                                "height": 59,
                                "width": 59
                            },
                            "sizeType": "medium2"
                        }
                    ],
                    "jobTitle": "",
                    "lastName": "Test",
                    "screenName": "test"
                },
                "editCount": 0,
                "externalPost": false,
                "hasAttachments": false,
                "id": 1100003,
                "lastModifiedDate": 1325199457000,
                "lastModifier": {
                    "firstName": "Test",
                    "fullName": "Test Test",
                    "id": 10382,
                    "images": [
                        {
                            "image": {
                                "id": 510870,
                                "resource": "",
                                "size": 4621,
                                "published": 0,
                                "updated": 1319055970732,
                                "fileName": null,
                                "mimeType": "jpg",
                                "author": null,
                                "uri": "/image/user_portrait?img_id=510870&t=1319055970732",
                                "height": 103,
                                "width": 103
                            },
                            "sizeType": "large"
                        },
                        {
                            "image": {
                                "id": 510872,
                                "resource": "",
                                "size": 855,
                                "published": 0,
                                "updated": 1319055970671,
                                "fileName": null,
                                "mimeType": "jpg",
                                "author": null,
                                "uri": "/image/user_portrait?img_id=510872&t=1319055970671",
                                "height": 24,
                                "width": 24
                            },
                            "sizeType": "small"
                        },
                        {
                            "image": {
                                "id": 510873,
                                "resource": "",
                                "size": 985,
                                "published": 0,
                                "updated": 1319055970688,
                                "fileName": null,
                                "mimeType": "jpg",
                                "author": null,
                                "uri": "/image/user_portrait?img_id=510873&t=1319055970688",
                                "height": 31,
                                "width": 31
                            },
                            "sizeType": "medium1"
                        },
                        {
                            "image": {
                                "id": 510874,
                                "resource": "",
                                "size": 1867,
                                "published": 0,
                                "updated": 1319055970706,
                                "fileName": null,
                                "mimeType": "jpg",
                                "author": null,
                                "uri": "/image/user_portrait?img_id=510874&t=1319055970706",
                                "height": 59,
                                "width": 59
                            },
                            "sizeType": "medium2"
                        }
                    ],
                    "jobTitle": "",
                    "lastName": "Test",
                    "screenName": "test"
                },
                "lastTransactionTime": 0,
                "lastTransactionType": "",
                "lastTransactionUser": null,
                "permissions": [
                    {
                        "principal": {
                            "id": 10382,
                            "resource": "http://quad.cisco.com/schema/1.0/user",
                            "firstName": "Test",
                            "lastName": "Test",
                            "fullName": "Test Test",
                            "screenName": "test",
                            "images": [
                                {
                                    "image": {
                                        "id": 510870,
                                        "resource": "",
                                        "size": 4621,
                                        "published": 0,
                                        "updated": 1319055970732,
                                        "fileName": null,
                                        "mimeType": "jpg",
                                        "author": null,
                                        "uri": "/image/user_portrait?img_id=510870&t=1319055970732",
                                        "height": 103,
                                        "width": 103
                                    },
                                    "sizeType": "large"
                                },
                                {
                                    "image": {
                                        "id": 510872,
                                        "resource": "",
                                        "size": 855,
                                        "published": 0,
                                        "updated": 1319055970671,
                                        "fileName": null,
                                        "mimeType": "jpg",
                                        "author": null,
                                        "uri": "/image/user_portrait?img_id=510872&t=1319055970671",
                                        "height": 24,
                                        "width": 24
                                    },
                                    "sizeType": "small"
                                },
                                {
                                    "image": {
                                        "id": 510873,
                                        "resource": "",
                                        "size": 985,
                                        "published": 0,
                                        "updated": 1319055970688,
                                        "fileName": null,
                                        "mimeType": "jpg",
                                        "author": null,
                                        "uri": "/image/user_portrait?img_id=510873&t=1319055970688",
                                        "height": 31,
                                        "width": 31
                                    },
                                    "sizeType": "medium1"
                                },
                                {
                                    "image": {
                                        "id": 510874,
                                        "resource": "",
                                        "size": 1867,
                                        "published": 0,
                                        "updated": 1319055970706,
                                        "fileName": null,
                                        "mimeType": "jpg",
                                        "author": null,
                                        "uri": "/image/user_portrait?img_id=510874&t=1319055970706",
                                        "height": 59,
                                        "width": 59
                                    },
                                    "sizeType": "medium2"
                                }
                            ],
                            "startWorkHour": 0,
                            "endWorkHour": 0,
                            "timeZone": "America/Los_Angeles",
                            "jobTitle": "",
                            "friendlyJobTitle": null,
                            "addresses": null,
                            "emails": null,
                            "phones": null,
                            "tags": null
                        },
                        "permissionFlags": {
                            "view": true,
                            "edit": true,
                            "comment": true,
                            "share": true,
                            "authorize": true
                        }
                    },
                    {
                        "principal": {
                            "id": 510204,
                            "resource": "http://quad.cisco.com/schema/1.0/community",
                            "creator": {
                                "id": 510114,
                                "resource": "http://quad.cisco.com/schema/1.0/user",
                                "firstName": "Mary",
                                "lastName": "Sample",
                                "fullName": "Mary Sample",
                                "screenName": "msample",
                                "images": [],
                                "startWorkHour": 10,
                                "endWorkHour": -1,
                                "timeZone": "America/New_York",
                                "jobTitle": "",
                                "friendlyJobTitle": "",
                                "addresses": [],
                                "emails": [
                                    {
                                        "id": 0,
                                        "resource": "http://quad.cisco.com/schema/1.0/email",
                                        "address": "msample@ds-sasg.com",
                                        "primary": true
                                    }
                                ],
                                "phones": [],
                                "tags": [
                                    {
                                        "id": 1810282,
                                        "resource": "http://quad.cisco.com/schema/1.0/tag",
                                        "name": "hello",
                                        "type": null
                                    }
                                ]
                            },
                            "name": "Test Quad Community",
                            "description": "for testing apis",
                            "shortName": "/test-quad-community",
                            "type": "open",
                            "category": {
                                "id": 310051,
                                "resource": "http://quad.cisco.com/schema/1.0/communitycategory",
                                "name": "General",
                                "description": "This is an all-purpose category that requires no approval",
                                "creator": {
                                    "id": 10198,
                                    "resource": "http://quad.cisco.com/schema/1.0/user",
                                    "firstName": "",
                                    "lastName": "",
                                    "fullName": " ",
                                    "screenName": "10198",
                                    "images": [],
                                    "startWorkHour": -1,
                                    "endWorkHour": -1,
                                    "timeZone": "America/Los_Angeles",
                                    "jobTitle": "",
                                    "friendlyJobTitle": "",
                                    "addresses": [],
                                    "emails": [
                                        {
                                            "id": 0,
                                            "resource": "http://quad.cisco.com/schema/1.0/email",
                                            "address": "default@cisco.com",
                                            "primary": true
                                        }
                                    ],
                                    "phones": [],
                                    "tags": []
                                },
                                "approvalRequired": false,
                                "modifiedDate": 1318001994978,
                                "generalCategory": true,
                                "questions": [],
                                "images": null
                            },
                            "state": "live",
                            "userCount": 5,
                            "stateChangedDate": 1318886791943,
                            "liveDate": 1318886791943,
                            "questionAnswers": null,
                            "tags": [
                                {
                                    "id": 510301,
                                    "resource": "http://quad.cisco.com/schema/1.0/tag",
                                    "name": "testing",
                                    "type": null
                                }
                            ],
                            "images": [
                                {
                                    "image": {
                                        "id": 510987,
                                        "resource": "",
                                        "size": 1436,
                                        "published": 0,
                                        "updated": 1319227674868,
                                        "fileName": null,
                                        "mimeType": "jpg",
                                        "author": null,
                                        "uri": "/image/image_gallery?img_id=510987",
                                        "height": 41,
                                        "width": 41
                                    },
                                    "sizeType": "large"
                                },
                                {
                                    "image": {
                                        "id": 510985,
                                        "resource": "",
                                        "size": 1099,
                                        "published": 0,
                                        "updated": 1319227674847,
                                        "fileName": null,
                                        "mimeType": "jpg",
                                        "author": null,
                                        "uri": "/image/image_gallery?img_id=510985",
                                        "height": 32,
                                        "width": 32
                                    },
                                    "sizeType": "medium1"
                                },
                                {
                                    "image": {
                                        "id": 510984,
                                        "resource": "",
                                        "size": 946,
                                        "published": 0,
                                        "updated": 1319227674836,
                                        "fileName": null,
                                        "mimeType": "jpg",
                                        "author": null,
                                        "uri": "/image/image_gallery?img_id=510984",
                                        "height": 24,
                                        "width": 24
                                    },
                                    "sizeType": "small"
                                },
                                {
                                    "image": {
                                        "id": 510986,
                                        "resource": "",
                                        "size": 1436,
                                        "published": 0,
                                        "updated": 1319227674858,
                                        "fileName": null,
                                        "mimeType": "jpg",
                                        "author": null,
                                        "uri": "/image/image_gallery?img_id=510986",
                                        "height": 41,
                                        "width": 41
                                    },
                                    "sizeType": "medium2"
                                }
                            ]
                        },
                        "permissionFlags": {
                            "view": true,
                            "edit": true,
                            "comment": true,
                            "share": true,
                            "authorize": false
                        }
                    }
                ],
                "publicPost": false,
                "resource": "http://quad.cisco.com/schema/1.0/post",
                "rootMessageId": 1810065,
                "state": "ACTIVE",
                "summary": "new post",
                "tags": [],
                "title": "new post",
                "type": "TEXT",
                "version": 1
            }
        }
    ],
    "serverMessages": null
}

	

Get users in a community

Returns a list of users for all of the user in the specififed community who are showing that community publically on their profile.

Request
GET
http://<webexsocial-server>/api/quad/rest/communities/{community-id}/users

Authentication Required

Supported since version 2.5

Example Request and Response
Request Response
GET /api/quad/rest/communities/510204/users HTTP/1.0
Host: quad-server
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
Accept: application/json
Accept-Encoding: gzip, deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Authorization: OAuth realm="http%3A%2F%2Fquad-server%2Fquadopen%2Fapi%2Frest%2Fcommunities%2F510204%2Fusers",
oauth_signature_method="HMAC-SHA1",oauth_version="1.0",oauth_nonce="qXFiaq",
oauth_timestamp="1329427196",oauth_consumer_key="7db9a0ca1a64d825b9d6967a16b53fec3367c515",
oauth_token="9e77a4d3-1d66-90a3-e27b-b7b2cb57404d",
oauth_signature="ZwyKu%2FPoh153K2H1%2FqPaUHRgCts%3D"

            
HTTP/1.1 200 OK
Date: Thu, 16 Feb 2012 21:19:58 GMT
Server: Apache
WWW-Authenticate: Basic realm="http://quad-server"
x-quad-count: 5
Content-Encoding: gzip
Content-Length: 1013
Connection: close
Content-Type: application/json
{
    "statusCode": 200,
    "startIndex": 0,
    "itemsPerPage": 5,
    "totalResults": 0,
    "filtered": false,
    "sorted": false,
    "entry": [
        {
            "data": {
                "addresses": [],
                "emails": [
                    {
                        "id": 0,
                        "resource": "http://quad.cisco.com/schema/1.0/email",
                        "address": "chrchand@ds-sasg.com",
                        "primary": true
                    }
                ],
                "endWorkHour": -1,
                "firstName": "User 1",
                "friendlyJobTitle": "",
                "fullName": "User 1 User 1",
                "id": 410012,
                "images": [],
                "jobTitle": "",
                "lastName": "User 1",
                "phones": [],
                "resource": "http://quad.cisco.com/schema/1.0/user",
                "screenName": "chrchand",
                "startWorkHour": -1,
                "tags": [],
                "timeZone": "America/Los_Angeles"
            }
        },
        {
            "data": {
                "addresses": [],
                "emails": [
                    {
                        "id": 0,
                        "resource": "http://quad.cisco.com/schema/1.0/email",
                        "address": "msample@ds-sasg.com",
                        "primary": true
                    }
                ],
                "endWorkHour": -1,
                "firstName": "Mary",
                "friendlyJobTitle": "",
                "fullName": "Mary Sample",
                "id": 510114,
                "images": [],
                "jobTitle": "",
                "lastName": "Sample",
                "phones": [],
                "resource": "http://quad.cisco.com/schema/1.0/user",
                "screenName": "msample",
                "startWorkHour": 10,
                "tags": [
                    {
                        "id": 1810282,
                        "resource": "http://quad.cisco.com/schema/1.0/tag",
                        "name": "hello",
                        "type": null
                    }
                ],
                "timeZone": "America/New_York"
            }
        },
        {
            "data": {
                "addresses": [],
                "emails": [
                    {
                        "id": 0,
                        "resource": "http://quad.cisco.com/schema/1.0/email",
                        "address": "test@cisco.com",
                        "primary": true
                    }
                ],
                "endWorkHour": -1,
                "firstName": "Test",
                "friendlyJobTitle": "",
                "fullName": "Test Test",
                "id": 10382,
                "images": [
                    {
                        "image": {
                            "id": 510870,
                            "resource": "",
                            "size": 4621,
                            "published": 0,
                            "updated": 1319055970732,
                            "fileName": null,
                            "mimeType": "jpg",
                            "author": null,
                            "uri": "/image/user_portrait?img_id=510870&t=1319055970732",
                            "height": 103,
                            "width": 103
                        },
                        "sizeType": "large"
                    },
                    {
                        "image": {
                            "id": 510872,
                            "resource": "",
                            "size": 855,
                            "published": 0,
                            "updated": 1319055970671,
                            "fileName": null,
                            "mimeType": "jpg",
                            "author": null,
                            "uri": "/image/user_portrait?img_id=510872&t=1319055970671",
                            "height": 24,
                            "width": 24
                        },
                        "sizeType": "small"
                    },
                    {
                        "image": {
                            "id": 510873,
                            "resource": "",
                            "size": 985,
                            "published": 0,
                            "updated": 1319055970688,
                            "fileName": null,
                            "mimeType": "jpg",
                            "author": null,
                            "uri": "/image/user_portrait?img_id=510873&t=1319055970688",
                            "height": 31,
                            "width": 31
                        },
                        "sizeType": "medium1"
                    },
                    {
                        "image": {
                            "id": 510874,
                            "resource": "",
                            "size": 1867,
                            "published": 0,
                            "updated": 1319055970706,
                            "fileName": null,
                            "mimeType": "jpg",
                            "author": null,
                            "uri": "/image/user_portrait?img_id=510874&t=1319055970706",
                            "height": 59,
                            "width": 59
                        },
                        "sizeType": "medium2"
                    }
                ],
                "jobTitle": "",
                "lastName": "Test",
                "phones": [],
                "resource": "http://quad.cisco.com/schema/1.0/user",
                "screenName": "test",
                "startWorkHour": -1,
                "tags": [],
                "timeZone": "America/Los_Angeles"
            }
        },
        {
            "data": {
                "addresses": [],
                "emails": [
                    {
                        "id": 0,
                        "resource": "http://quad.cisco.com/schema/1.0/email",
                        "address": "niksample@ds-sasg.com",
                        "primary": true
                    }
                ],
                "endWorkHour": -1,
                "firstName": "nik",
                "friendlyJobTitle": "Janitor",
                "fullName": "nik sample",
                "id": 511084,
                "images": [
                    {
                        "image": {
                            "id": 511356,
                            "resource": "",
                            "size": 2752,
                            "published": 0,
                            "updated": 1320437236814,
                            "fileName": null,
                            "mimeType": "jpg",
                            "author": null,
                            "uri": "/image/user_portrait?img_id=511356&t=1320437236814",
                            "height": 103,
                            "width": 103
                        },
                        "sizeType": "large"
                    },
                    {
                        "image": {
                            "id": 511358,
                            "resource": "",
                            "size": 857,
                            "published": 0,
                            "updated": 1320437236759,
                            "fileName": null,
                            "mimeType": "jpg",
                            "author": null,
                            "uri": "/image/user_portrait?img_id=511358&t=1320437236759",
                            "height": 24,
                            "width": 24
                        },
                        "sizeType": "small"
                    },
                    {
                        "image": {
                            "id": 511359,
                            "resource": "",
                            "size": 937,
                            "published": 0,
                            "updated": 1320437236774,
                            "fileName": null,
                            "mimeType": "jpg",
                            "author": null,
                            "uri": "/image/user_portrait?img_id=511359&t=1320437236774",
                            "height": 31,
                            "width": 31
                        },
                        "sizeType": "medium1"
                    },
                    {
                        "image": {
                            "id": 511360,
                            "resource": "",
                            "size": 1447,
                            "published": 0,
                            "updated": 1320437236789,
                            "fileName": null,
                            "mimeType": "jpg",
                            "author": null,
                            "uri": "/image/user_portrait?img_id=511360&t=1320437236789",
                            "height": 59,
                            "width": 59
                        },
                        "sizeType": "medium2"
                    }
                ],
                "jobTitle": "",
                "lastName": "sample",
                "phones": [],
                "resource": "http://quad.cisco.com/schema/1.0/user",
                "screenName": "nik",
                "startWorkHour": -1,
                "tags": [
                    {
                        "id": 511618,
                        "resource": "http://quad.cisco.com/schema/1.0/tag",
                        "name": "java",
                        "type": null
                    }
                ],
                "timeZone": "America/St_Johns"
            }
        },
        {
            "data": {
                "addresses": [],
                "emails": [
                    {
                        "id": 0,
                        "resource": "http://quad.cisco.com/schema/1.0/email",
                        "address": "user1@test.com",
                        "primary": true
                    }
                ],
                "endWorkHour": -1,
                "firstName": "user1",
                "friendlyJobTitle": "",
                "fullName": "user1 user1 user1",
                "id": 710009,
                "images": [
                    {
                        "image": {
                            "id": 1610085,
                            "resource": "",
                            "size": 1757,
                            "published": 0,
                            "updated": 1323457040026,
                            "fileName": null,
                            "mimeType": "jpg",
                            "author": null,
                            "uri": "/image/user_portrait?img_id=1610085&t=1323457040026",
                            "height": 66,
                            "width": 66
                        },
                        "sizeType": "large"
                    },
                    {
                        "image": {
                            "id": 1610087,
                            "resource": "",
                            "size": 827,
                            "published": 0,
                            "updated": 1323457039950,
                            "fileName": null,
                            "mimeType": "jpg",
                            "author": null,
                            "uri": "/image/user_portrait?img_id=1610087&t=1323457039950",
                            "height": 24,
                            "width": 24
                        },
                        "sizeType": "small"
                    },
                    {
                        "image": {
                            "id": 1610088,
                            "resource": "",
                            "size": 930,
                            "published": 0,
                            "updated": 1323457039983,
                            "fileName": null,
                            "mimeType": "jpg",
                            "author": null,
                            "uri": "/image/user_portrait?img_id=1610088&t=1323457039983",
                            "height": 32,
                            "width": 32
                        },
                        "sizeType": "medium1"
                    },
                    {
                        "image": {
                            "id": 1610089,
                            "resource": "",
                            "size": 1492,
                            "published": 0,
                            "updated": 1323457040001,
                            "fileName": null,
                            "mimeType": "jpg",
                            "author": null,
                            "uri": "/image/user_portrait?img_id=1610089&t=1323457040001",
                            "height": 60,
                            "width": 60
                        },
                        "sizeType": "medium2"
                    }
                ],
                "jobTitle": "",
                "lastName": "user1",
                "phones": [],
                "resource": "http://quad.cisco.com/schema/1.0/user",
                "screenName": "user1",
                "startWorkHour": -1,
                "tags": [],
                "timeZone": "America/Los_Angeles"
            }
        }
    ],
    "serverMessages": null
}