# ink.resenha.moderation.listReports

> Requires a maintainer's service token.

- Kind: query
- Authority: moderation.resenha.ink
- Lexicon: 1
- Published by [resenha.ink](https://lexicon.garden/identity/did:plc:v7itjf4h3sb5zuegiiskctqb), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:v7itjf4h3sb5zuegiiskctqb/ink.resenha.moderation.listReports)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:v7itjf4h3sb5zuegiiskctqb/ink.resenha.moderation.listReports/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:v7itjf4h3sb5zuegiiskctqb/ink.resenha.moderation.listReports/analytics)

## Query (`ink.resenha.moderation.listReports`)

Type: query · GET

### Parameters (query string)

- `cursor` (string)
- `limit` (integer)
  - Constraints: minimum: 1, maximum: 100, default: 50
- `status` (string)
  - Constraints: default: "open", knownValues: open | resolved

### Output (application/json)

- `cursor` (string)
- `profiles` (array): The comments' authors and the reporters, those the server has.
  - `items` (ref)
    - Reference: `ink.resenha.defs#profileView`
- `reports` (array, required)
  - `items` (ref)
    - Reference: `ink.resenha.defs#reportView`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Requires a maintainer's service token.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "profiles": {
              "description": "The comments' authors and the reporters, those the server has.",
              "items": {
                "ref": "ink.resenha.defs#profileView",
                "type": "ref"
              },
              "type": "array"
            },
            "reports": {
              "items": {
                "ref": "ink.resenha.defs#reportView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "reports"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "status": {
            "default": "open",
            "knownValues": [
              "open",
              "resolved"
            ],
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "The reports on Resenha comments, for a maintainer: open ones newest first, or the resolved ones.",
  "id": "ink.resenha.moderation.listReports",
  "lexicon": 1
}
```
