chat.sprk.moderation.getMessageContext

Repository @sprk.so did:plc:cveom2iroj3mt747sd4qqnr2 namespace authority
Details · query
Kindquery
Authoritymoderation.sprk.chat
Indexed
cid bafyreiaq2o7jfmhd7ronqu2h3a7dl2utae564l4eojgshntntjkhw3vp2y

Checks

Valid
  • missing-primary-description defs.mainThe query has no description.
  • unlimited-string defs.main.parameters.properties.convoIdNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.parameters.properties.messageIdNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "messages": {
              "items": {
                "refs": [
                  "chat.sprk.convo.defs#messageView",
                  "chat.sprk.convo.defs#deletedMessageView"
                ],
                "type": "union"
              },
              "type": "array"
            }
          },
          "required": [
            "messages"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "after": {
            "default": 5,
            "type": "integer"
          },
          "before": {
            "default": 5,
            "type": "integer"
          },
          "convoId": {
            "description": "Conversation that the message is from. NOTE: this field will eventually be required.",
            "type": "string"
          },
          "messageId": {
            "type": "string"
          }
        },
        "required": [
          "messageId"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "chat.sprk.moderation.getMessageContext",
  "lexicon": 1
}