org.atgrp.mod.querySubjects
List subjects in the moderation queue. Requires auth as the group.
Details · query
| Kind | query |
|---|---|
| Authority | mod.atgrp.org |
| Commit rev | 3n36c4plfjp2h |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.sortNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.statusNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.
{
"$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
}