fyi.opensocial.previewMethod

One of the group's own methods as the page the caller's assistant left for a tab would bring it, before it's published: its body and lexicon from that draft, called as the caller. `output` is what the method returns, as it will once published. Only for whoever may change the group's site, and only their own draft.

Details · query
Kindquery
Authorityopensocial.fyi
Indexed
cid bafyreibmqsoifoiykotduwigj27bjju4qgqdoes5hwmaqkazqwrbc3llzq

Checks

Valid
  • unlimited-string defs.main.parameters.properties.channelNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.parameters.properties.tabNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "One of the group's own methods as the page the caller's assistant left for a tab would bring it, before it's published: its body and lexicon from that draft, called as the caller. `output` is what the method returns, as it will once published. Only for whoever may change the group's site, and only their own draft.",
      "errors": [
        {
          "name": "NotFound"
        },
        {
          "name": "Forbidden"
        },
        {
          "name": "InvalidResponse"
        },
        {
          "name": "Timeout"
        },
        {
          "name": "TooManyCalls"
        },
        {
          "name": "OutOfMemory"
        },
        {
          "name": "MethodFailed"
        },
        {
          "name": "TooLarge"
        },
        {
          "name": "Busy"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "output": {
              "description": "The method's output.",
              "type": "unknown"
            }
          },
          "required": [
            "output"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "channel": {
            "description": "The tab's channel.",
            "type": "string"
          },
          "group": {
            "format": "did",
            "type": "string"
          },
          "nsid": {
            "description": "The method, among the draft's.",
            "format": "nsid",
            "type": "string"
          },
          "params": {
            "description": "The method's params, as JSON.",
            "maxLength": 8192,
            "type": "string"
          },
          "tab": {
            "type": "string"
          }
        },
        "required": [
          "group",
          "channel",
          "tab",
          "nsid"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "fyi.opensocial.previewMethod",
  "lexicon": 1
}