# com.getorbyt.community.resolveAppeal

> 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.resolveAppeal)
- [Documentation](https://lexicon.garden/lexicon/did:plc:2xrqztnmzlckb3xfuuukupso/com.getorbyt.community.resolveAppeal/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:2xrqztnmzlckb3xfuuukupso/com.getorbyt.community.resolveAppeal/examples)

## Definitions

### `com.getorbyt.community.resolveAppeal`

**Type**: `procedure`

Permanently upholds or restores one appealed Community removal. Requires authenticated moderator authorization.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `note` | `string` | No |  |
| `action` | `string` | Yes |  |
| `appeal` | `string` | Yes |  |

#### Output

**Encoding**: `application/json`

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

#### Errors

- **AuthenticationRequired**
- **AppealNotFound**
- **InsufficientRole**
- **InvalidState**

## Raw Schema

```json
{
  "id": "com.getorbyt.community.resolveAppeal",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "appeal",
            "action"
          ],
          "properties": {
            "note": {
              "type": "string",
              "maxLength": 2000
            },
            "action": {
              "type": "string",
              "knownValues": [
                "uphold",
                "restore"
              ]
            },
            "appeal": {
              "type": "string",
              "maxLength": 128
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "AppealNotFound"
        },
        {
          "name": "InsufficientRole"
        },
        {
          "name": "InvalidState"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "appeal"
          ],
          "properties": {
            "appeal": {
              "ref": "com.getorbyt.community.defs#appealView",
              "type": "ref"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Permanently upholds or restores one appealed Community removal. Requires authenticated moderator authorization."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
