org.atgrp.mod.querySubjects

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

Repository @lex.atgrp.org did:plc:4pt2cnpyvfgn5b7uxwn2shwv namespace authority
Details · query
Kindquery
Authoritymod.atgrp.org
Commit rev3n36c4plfjp2h
Indexed
cid bafyreibywit4smg6jw6rrwsed3alyfmgck654mgpj57j4eoilq3aulespq

Checks

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