app.lovesky.chat.getMessages

Messages in one of the caller's conversations, newest first.

Repository @toddlambert.com did:plc:r5pj64joaywqnvk2obembpt7 namespace authority
Details · query
Kindquery
Authoritychat.lovesky.app
Indexed
cid bafyreihx5nywqs6bpoml35px22qqft3htuzdj4t2wpunp6ibchxzs4zdm4

Checks

Valid
  • unlimited-string defs.main.parameters.properties.convoIdNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Messages in one of the caller's conversations, newest first.",
      "errors": [
        {
          "description": "No such conversation, or the caller is not part of it.",
          "name": "ConvoNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "messages": {
              "items": {
                "ref": "app.lovesky.chat.defs#messageView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "messages"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "convoId": {
            "type": "string"
          },
          "cursor": {
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "convoId"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "app.lovesky.chat.getMessages",
  "lexicon": 1
}