quest.cozysky.getSuggestions

People worth linking to a cairn, for a player with no (or few) frens: first players with an indexed quest.cozysky.save (most recently played first), then anyone with an actor.rpg.sprite (by DID, a stable order). Each is flagged with the kind of character sprite they have. Served by getSuggestions.lua; needs no follow graph.

Repository @cozysky.quest did:plc:r3t343mn4ksrkgzustdwj5iv namespace authority
Details · query
Kindquery
Authoritycozysky.quest
Commit rev3n2mgf47q4x43
Indexed
cid bafyreiedhvbu5y64s3lyk23klhgb4wwy24dmtv343xgkbyoqzuvxvlvxqi

Checks

Valid
  • unlimited-string defs.main.parameters.properties.excludeNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.parameters.properties.sourceNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.suggestion.properties.spriteNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "People worth linking to a cairn, for a player with no (or few) frens: first players with an indexed quest.cozysky.save (most recently played first), then anyone with an actor.rpg.sprite (by DID, a stable order). Each is flagged with the kind of character sprite they have. Served by getSuggestions.lua; needs no follow graph.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "suggestions": {
              "items": {
                "ref": "#suggestion",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "suggestions"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "did": {
            "description": "The asking player, left out of the results.",
            "format": "did",
            "type": "string"
          },
          "exclude": {
            "description": "Comma-separated DIDs to leave out too (frens already shown, accounts already linked).",
            "type": "string"
          },
          "limit": {
            "default": 30,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "source": {
            "default": "all",
            "description": "players: only those with a Cozysky save. sprites: only those with an rpg.actor sprite (and no save).",
            "knownValues": [
              "all",
              "players",
              "sprites"
            ],
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    },
    "suggestion": {
      "properties": {
        "day": {
          "description": "Their in-game day, for a player.",
          "type": "integer"
        },
        "did": {
          "format": "did",
          "type": "string"
        },
        "player": {
          "description": "They have a Cozysky save.",
          "type": "boolean"
        },
        "sprite": {
          "description": "Which character sprite they have, if any (cozysky wins when both exist).",
          "knownValues": [
            "cozysky",
            "rpg"
          ],
          "type": "string"
        },
        "updatedAt": {
          "description": "When their save last changed, for a player.",
          "format": "datetime",
          "type": "string"
        }
      },
      "required": [
        "did"
      ],
      "type": "object"
    }
  },
  "id": "quest.cozysky.getSuggestions",
  "lexicon": 1
}