# com.getorbyt.community.createAppeal

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

## Definitions

### `com.getorbyt.community.createAppeal`

**Type**: `procedure`

Creates the post author's single private appeal for a specific Community removal action. Requires authenticated service authorization.

#### Input

**Encoding**: `application/json`

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

#### Output

**Encoding**: `application/json`

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

#### Errors

- **AuthenticationRequired**
- **RemovalNotFound**
- **AppealExists**
- **InsufficientRole**
- **InvalidRequest**

## Raw Schema

```json
{
  "id": "com.getorbyt.community.createAppeal",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "community",
            "post",
            "removalActionId",
            "text"
          ],
          "properties": {
            "post": {
              "type": "string",
              "format": "at-uri"
            },
            "text": {
              "type": "string",
              "maxLength": 2000,
              "minLength": 1
            },
            "community": {
              "type": "string",
              "format": "at-uri"
            },
            "removalActionId": {
              "type": "string",
              "maxLength": 128
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "RemovalNotFound"
        },
        {
          "name": "AppealExists"
        },
        {
          "name": "InsufficientRole"
        },
        {
          "name": "InvalidRequest"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "appeal"
          ],
          "properties": {
            "appeal": {
              "ref": "com.getorbyt.community.defs#appealView",
              "type": "ref"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Creates the post author's single private appeal for a specific Community removal action. Requires authenticated service authorization."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
