app.lovesky.discover.getCandidates

Ranked cards for the caller to browse. Filtered by both sides' private preferences, blocks in either direction, prior likes and passes, and moderation labels. Requires an authenticated Lovesky session and a published card.

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

Checks

Valid
  • 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": "Ranked cards for the caller to browse. Filtered by both sides' private preferences, blocks in either direction, prior likes and passes, and moderation labels. Requires an authenticated Lovesky session and a published card.",
      "errors": [
        {
          "description": "Caller has not published app.lovesky.actor.profile.",
          "name": "NoCard"
        },
        {
          "description": "Caller has not set private preferences.",
          "name": "NoPreferences"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "candidates": {
              "items": {
                "ref": "app.lovesky.actor.defs#profileView",
                "type": "ref"
              },
              "type": "array"
            },
            "cursor": {
              "type": "string"
            }
          },
          "required": [
            "candidates"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "limit": {
            "default": 20,
            "maximum": 50,
            "minimum": 1,
            "type": "integer"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "app.lovesky.discover.getCandidates",
  "lexicon": 1
}