org.atgrp.mod.updateSubject
Change a subject's status or tags, or add a note. Omitted fields are left as they are. Requires auth as the group.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | mod.atgrp.org |
| Commit rev | 3n36c4qwhwk2u |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.statusNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Change a subject's status or tags, or add a note. Omitted fields are left as they are. Requires auth as the group.",
"errors": [
{
"description": "The subject isn't in this group.",
"name": "InvalidSubject"
},
{
"description": "The subject has never been reported.",
"name": "SubjectNotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"addTags": {
"description": "Tags follow label value syntax ([a-z-]+).",
"items": {
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"maxLength": 25,
"type": "array"
},
"cid": {
"description": "If set, a specific version of the record.",
"format": "cid",
"type": "string"
},
"note": {
"maxGraphemes": 2000,
"maxLength": 20000,
"type": "string"
},
"removeTags": {
"items": {
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"maxLength": 25,
"type": "array"
},
"status": {
"enum": [
"open",
"resolved"
],
"type": "string"
},
"subject": {
"description": "An account DID or record URI.",
"format": "uri",
"type": "string"
}
},
"required": [
"subject"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"ref": "org.atgrp.mod.defs#subjectView",
"type": "ref"
}
},
"type": "procedure"
}
},
"id": "org.atgrp.mod.updateSubject",
"lexicon": 1
}