org.atsui.Avatar

atsui.org

Documentation

Circular profile image at a fixed size.

main procedure

Circular profile image at a fixed size.

Input

Encodingapplication/json
did stringdid Optional

DID of the blob owner. Used to resolve blob URLs.

lift boolean Optional

Pull the avatar up by half its own height, overlapping the element above.

size string Optional

Size token.

maxLength: 32 bytes
src unknown Required

Blob ref for the image.

Output

Encodingapplication/json
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "type": "procedure",
  "input": {
    "schema": {
      "type": "object",
      "required": [
        "src"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did",
          "description": "DID of the blob owner. Used to resolve blob URLs."
        },
        "src": {
          "type": "unknown",
          "description": "Blob ref for the image."
        },
        "lift": {
          "type": "boolean",
          "description": "Pull the avatar up by half its own height, overlapping the element above."
        },
        "size": {
          "type": "string",
          "default": "medium",
          "maxLength": 32,
          "description": "Size token.",
          "knownValues": [
            "xsmall",
            "small",
            "medium",
            "large"
          ]
        }
      }
    },
    "encoding": "application/json"
  },
  "output": {
    "schema": {
      "ref": "at.inlay.defs#response",
      "type": "ref"
    },
    "encoding": "application/json"
  },
  "description": "Circular profile image at a fixed size."
}

Lexicon Garden

@