# org.atgrp.mod.querySubjects

List subjects in the moderation queue. Requires auth as the group.

A method (query) in the Atmosphere Groups standard, as published on the network. The page: https://www.atmospheregroups.org/reference/lexicons/org-atgrp-mod-querySubjects/

- Published at: at://did:plc:4pt2cnpyvfgn5b7uxwn2shwv/com.atproto.lexicon.schema/org.atgrp.mod.querySubjects
- In the spec: https://www.atmospheregroups.org/spec/lexicons/org-atgrp-mod-querySubjects/, the same schema

## The schema as published

```json
{
  "id": "org.atgrp.mod.querySubjects",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "InvalidCursor"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "subjects"
          ],
          "properties": {
            "cursor": {
              "type": "string"
            },
            "subjects": {
              "type": "array",
              "items": {
                "ref": "org.atgrp.mod.defs#subjectView",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "sort": {
            "type": "string",
            "default": "oldest",
            "description": "oldest and newest go by createdAt. updated puts the latest updatedAt first.",
            "knownValues": [
              "oldest",
              "newest",
              "updated"
            ]
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 128,
              "minLength": 1
            },
            "maxLength": 25,
            "description": "Only subjects with any of these tags."
          },
          "limit": {
            "type": "integer",
            "default": 50,
            "maximum": 100,
            "minimum": 1
          },
          "cursor": {
            "type": "string"
          },
          "status": {
            "enum": [
              "open",
              "resolved"
            ],
            "type": "string",
            "description": "Omit for all."
          }
        }
      },
      "description": "List subjects in the moderation queue. Requires auth as the group."
    }
  },
  "lexicon": 1
}
```
