fyi.opensocial.resolveSubject

Resolve or escalate a subject, optionally with a note. Repeating the current status adds the note. Requires mod.resolve.

Details · procedure
Kindprocedure
Authorityopensocial.fyi
Indexed
cid bafyreicghanwcwlgm6l22zitlr2rycc42aai3mx5zmogjgotaozm2gyl3u

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.statusNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Resolve or escalate a subject, optionally with a note. Repeating the current status adds the note. Requires mod.resolve.",
      "errors": [
        {
          "description": "The subject isn't an account or record in this group.",
          "name": "InvalidSubject"
        },
        {
          "description": "The subject has never been reported.",
          "name": "SubjectNotFound"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "group": {
              "description": "The group DID. Every method is served by the group's host and authorized against that group's roles.",
              "format": "did",
              "type": "string"
            },
            "note": {
              "maxGraphemes": 2000,
              "maxLength": 20000,
              "type": "string"
            },
            "status": {
              "enum": [
                "resolved",
                "escalated"
              ],
              "type": "string"
            },
            "subject": {
              "refs": [
                "fyi.opensocial.defs#accountSubject",
                "fyi.opensocial.defs#recordSubject"
              ],
              "type": "union"
            }
          },
          "required": [
            "group",
            "subject",
            "status"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "fyi.opensocial.defs#subjectView",
          "type": "ref"
        }
      },
      "type": "procedure"
    }
  },
  "id": "fyi.opensocial.resolveSubject",
  "lexicon": 1
}