app.lovesky.match.createLike

Like or pass on a card. Stored privately in the AppView. If the subject has already liked the caller, a match and a conversation are created atomically. The response never reveals a one-sided like from the other party.

Repository @toddlambert.com did:plc:r5pj64joaywqnvk2obembpt7 namespace authority
Details · procedure
Kindprocedure
Authoritymatch.lovesky.app
Indexed
cid bafyreib57k6ruzaod7v5xg66sq2zwovmgsqhnefad5gnwrlgfncky76oku

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.actionNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.output.schema.properties.convoIdNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Like or pass on a card. Stored privately in the AppView. If the subject has already liked the caller, a match and a conversation are created atomically. The response never reveals a one-sided like from the other party.",
      "errors": [
        {
          "description": "Daily like budget exhausted.",
          "name": "RateLimited"
        },
        {
          "description": "A block exists in either direction.",
          "name": "Blocked"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "action": {
              "enum": [
                "like",
                "pass"
              ],
              "type": "string"
            },
            "subject": {
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "subject",
            "action"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "convoId": {
              "type": "string"
            },
            "matched": {
              "type": "boolean"
            }
          },
          "required": [
            "matched"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "app.lovesky.match.createLike",
  "lexicon": 1
}