# com.getorbyt.community.getCommunity

> Published by [getorbyt.com](https://lexicon.garden/identity/did:plc:2xrqztnmzlckb3xfuuukupso)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:2xrqztnmzlckb3xfuuukupso/com.getorbyt.community.getCommunity)
- [Documentation](https://lexicon.garden/lexicon/did:plc:2xrqztnmzlckb3xfuuukupso/com.getorbyt.community.getCommunity/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:2xrqztnmzlckb3xfuuukupso/com.getorbyt.community.getCommunity/examples)

## Definitions

### `com.getorbyt.community.getCommunity`

**Type**: `query`

A single Community by AT-URI, hydrated with viewer state when the request is authenticated.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `community` | `string` (at-uri) | Yes |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `community` | `ref` → `com.getorbyt.community.defs#view` | Yes |  |

#### Errors

- **CommunityNotFound**

## Raw Schema

```json
{
  "id": "com.getorbyt.community.getCommunity",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "CommunityNotFound"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "community"
          ],
          "properties": {
            "community": {
              "ref": "com.getorbyt.community.defs#view",
              "type": "ref"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "community"
        ],
        "properties": {
          "community": {
            "type": "string",
            "format": "at-uri"
          }
        }
      },
      "description": "A single Community by AT-URI, hydrated with viewer state when the request is authenticated."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
