Atmosphere GroupsOpen specificationBeta
MenuClose

org.atgrp.mod.querySubjects

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

Kind
A method (query)
Record
at://did:plc:4pt2cnpyvfgn5b7uxwn2shwv/com.atproto.lexicon.schema/org.atgrp.mod.querySubjects
In the spec
org.atgrp.mod.querySubjects, the same as published here.

main query

Parameters

FieldTypeDescription
sortstring
  • default: "oldest"
  • knownValues: oldest, newest, updated
oldest and newest go by createdAt. updated puts the latest updatedAt first.
tagsarray of string
  • each item, minLength: 1
  • each item, maxLength: 128
  • array maxLength: 25
Only subjects with any of these tags.
limitinteger
  • default: 50
  • minimum: 1
  • maximum: 100
cursorstring
statusstring
  • enum: open, resolved
Omit for all.

Output

Encoding: application/json

FieldTypeDescription
cursorstring
subjects (required)array of org.atgrp.mod.defs#subjectView

Errors

  • InvalidCursor
The schema as published
{
  "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
}

All lexicons