# com.getorbyt.community.resolveReport

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

## Definitions

### `com.getorbyt.community.resolveReport`

**Type**: `procedure`

Resolves one Community report by removing its post or dismissing the report. Requires authenticated moderator authorization.

#### Input

**Encoding**: `application/json`

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

#### Output

**Encoding**: `application/json`

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

#### Errors

- **AuthenticationRequired**
- **ReportNotFound**
- **InsufficientRole**
- **InvalidState**

## Raw Schema

```json
{
  "id": "com.getorbyt.community.resolveReport",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "report",
            "action"
          ],
          "properties": {
            "note": {
              "type": "string",
              "maxLength": 2000
            },
            "action": {
              "type": "string",
              "knownValues": [
                "remove",
                "dismiss"
              ]
            },
            "report": {
              "type": "string",
              "maxLength": 128
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "ReportNotFound"
        },
        {
          "name": "InsufficientRole"
        },
        {
          "name": "InvalidState"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "report"
          ],
          "properties": {
            "report": {
              "ref": "com.getorbyt.community.defs#reportView",
              "type": "ref"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Resolves one Community report by removing its post or dismissing the report. Requires authenticated moderator authorization."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
