fyi.opensocial.resolveSubject

Resolve or escalate a subject, optionally with a note. Requires mod.resolve.

Details · procedure
Kindprocedure
Authorityopensocial.fyi
Indexed

Showing version bafyreidydkjaf5jivgohzkao77qszqxalx4rczt5prfkpgvspw75eszf7e. Show the latest

cid bafyreidydkjaf5jivgohzkao77qszqxalx4rczt5prfkpgvspw75eszf7e

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.actionNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.input.schema.properties.noteNo maxLength, maxGraphemes or format limits this string.
  • endpoint-output-undefined defs.mainNo output is defined. Endpoints should define one, even an empty one.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Resolve or escalate a subject, optionally with a note. Requires mod.resolve.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "action": {
              "knownValues": [
                "resolve",
                "escalate",
                "note"
              ],
              "type": "string"
            },
            "group": {
              "description": "The group DID. Every method is served by the group's host and authorized against that group's roles. Or the host's own DID, for its queue of what's shared with everyone: templates, their versions, and likes of them, for the host's moderators alone.",
              "format": "did",
              "type": "string"
            },
            "note": {
              "type": "string"
            },
            "subject": {
              "description": "A record's at-uri, or an account's DID.",
              "format": "uri",
              "type": "string"
            }
          },
          "required": [
            "group",
            "subject",
            "action"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "fyi.opensocial.resolveSubject",
  "lexicon": 1
}