org.atgrp.mod.querySubjectHistory
Get a subject's moderation history. Requires auth as the group.
Details · query
| Kind | query |
|---|---|
| Authority | mod.atgrp.org |
| Commit rev | 3n36c4p6now26 |
| 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.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Get a subject's moderation history. Requires auth as the group.",
"errors": [
{
"description": "The subject isn't in this group.",
"name": "InvalidSubject"
},
{
"name": "InvalidCursor"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"type": "string"
},
"events": {
"items": {
"ref": "org.atgrp.mod.defs#eventView",
"type": "ref"
},
"type": "array"
}
},
"required": [
"events"
],
"type": "object"
}
},
"parameters": {
"properties": {
"cid": {
"description": "If set, only this version of the record.",
"format": "cid",
"type": "string"
},
"cursor": {
"type": "string"
},
"limit": {
"default": 50,
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"sort": {
"default": "newest",
"knownValues": [
"newest",
"oldest"
],
"type": "string"
},
"subject": {
"description": "An account DID or record URI.",
"format": "uri",
"type": "string"
}
},
"required": [
"subject"
],
"type": "params"
},
"type": "query"
}
},
"id": "org.atgrp.mod.querySubjectHistory",
"lexicon": 1
}