GET community/get-community-information?community_short_name={community_short_name}&community_ID={community_ID}

Gets the basic information of a community

Request Information

Headers

HTTP_AUTHORIZATION: Required. OAuth 1.0 parameters with the OAuth signature of the url you are going to request. The consumer keys and access token can be obtained from the community administration.

Sample:
        HTTP_AUTHORIZATION:
            OAuth oauth_token="CObXqjfOisVh9%2F2GjC7NNd8BCzY%3D",
            oauth_consumer_key="clGACsiGaMp%2FD%2BUwkSvRBxA1k50%3D",
            oauth_nonce="VqKza6d5x1HpPQWFe08spbdOnkTQpfaLfD9Oeuyg",
            oauth_signature_method="HMAC-SHA1",
            oauth_timestamp="1462882011",
            oauth_signature="RH5aKKKJaEvK5cIsZZzXtFh7cCk%3D"
    

URI Parameters

NameDescriptionTypeAdditional information
community_short_name

string

Optional

community_ID

globally unique identifier

Optional

Response Information

Resource Description

NameDescriptionTypeAdditional information
name

Name

string

Required

short_name

Short name

string

Required

description

Brief Description

string

Required

tags

Tags (comma separated)

string

Required

type

Community's type

string

Required

access_type

Community's access type

integer

Optional

categories

Community's categories

Collection of globally unique identifier

Optional

users

Community's users

Collection of globally unique identifier

Optional

Response Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "short_name": "sample string 2",
  "description": "sample string 3",
  "tags": "sample string 4",
  "type": "sample string 5",
  "access_type": 6,
  "categories": [
    "dc4e3157-cfd4-4ca9-834f-c106d62776d2",
    "62723c5e-e0b1-4806-a175-15d593c6664c"
  ],
  "users": [
    "89b190a1-a818-42fd-aa11-a8ce21cb43fd",
    "75d3256e-3c65-4036-b4b9-aff266a5410c"
  ]
}

Response HTTP status code

On success, the response contains 200 code.

On fail, throws a WebException with code:

  • 401 Unauthorized if the OAuth signature is invalid
  • 400 Bad Request if the params are invalid
  • 500 Internal server error if something goes wrong...