# quest.cozysky.getFrenSprites

> Character sprites for a player's frens (Marco follow graph): each fren's actor.rpg.sprite/self and quest.cozysky.sprite/self records as indexed. Frens with neither are omitted. Served by getFrenSprites.lua.

- Kind: query
- Authority: cozysky.quest
- Lexicon: 1
- Published by [cozysky.quest](https://lexicon.garden/identity/did:plc:r3t343mn4ksrkgzustdwj5iv), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:r3t343mn4ksrkgzustdwj5iv/quest.cozysky.getFrenSprites)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:r3t343mn4ksrkgzustdwj5iv/quest.cozysky.getFrenSprites/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:r3t343mn4ksrkgzustdwj5iv/quest.cozysky.getFrenSprites/analytics)

## Query (`quest.cozysky.getFrenSprites`)

Type: query · GET

### Parameters (query string)

- `did` (string · did): Whose frens. Required unless dids is given.
- `dids` (string): Comma-separated DIDs to use instead of asking Marco.
- `pool` (string): Which frens, from Marco's follow graph.
  - Constraints: default: "mutuals", knownValues: mutuals | following | followers

### Output (application/json)

- `looked` (integer): How many frens were looked up.
- `sprites` (array, required)
  - `items` (ref)
    - Reference: `#frenSprite`

## #frenSprite (`quest.cozysky.getFrenSprites#frenSprite`)

Type: object

### Properties

- `cozysky` (unknown): Their quest.cozysky.sprite record, if any.
- `did` (string · did, required)
- `rpg` (unknown): Their actor.rpg.sprite record, if any.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "frenSprite": {
      "properties": {
        "cozysky": {
          "description": "Their quest.cozysky.sprite record, if any.",
          "type": "unknown"
        },
        "did": {
          "format": "did",
          "type": "string"
        },
        "rpg": {
          "description": "Their actor.rpg.sprite record, if any.",
          "type": "unknown"
        }
      },
      "required": [
        "did"
      ],
      "type": "object"
    },
    "main": {
      "description": "Character sprites for a player's frens (Marco follow graph): each fren's actor.rpg.sprite/self and quest.cozysky.sprite/self records as indexed. Frens with neither are omitted. Served by getFrenSprites.lua.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "looked": {
              "description": "How many frens were looked up.",
              "type": "integer"
            },
            "sprites": {
              "items": {
                "ref": "#frenSprite",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "sprites"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "did": {
            "description": "Whose frens. Required unless dids is given.",
            "format": "did",
            "type": "string"
          },
          "dids": {
            "description": "Comma-separated DIDs to use instead of asking Marco.",
            "type": "string"
          },
          "pool": {
            "default": "mutuals",
            "description": "Which frens, from Marco's follow graph.",
            "knownValues": [
              "mutuals",
              "following",
              "followers"
            ],
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "quest.cozysky.getFrenSprites",
  "lexicon": 1
}
```
