dev.knotless.uploadAvatar

lexicons.knotless.dev

Schema Diff

+2 -2

From

CID
bafyreiaafgpzdz2...
Indexed At
2026-10-28 21:21 UTC
View this version

To

CID
bafyreiaxs3khdqu...
Indexed At
2026-10-28 23:15 UTC
View this version

Compatibility Analysis

Backward Compatible

No changes detected.

1 1
{
2 2
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "main": {
5 -
      "description": "Uploads the body, a PNG or JPEG of at most 1,000,000 bytes, as a blob of the account logged in to this appview's web pages, and names it as the picture of its dev.knotless.profile record, as `knotless profile --avatar` does. Requires the session cookie the pages' login sets: the appview writes with the session it keeps for that account.",
5 +
      "description": "Uploads the body, a PNG, JPEG, WebP or GIF, as a blob of the account logged in to this appview's web pages, and names it as the picture of its dev.knotless.profile record, as `knotless profile --avatar` does: one that is not a PNG or JPEG, or is over 1,000,000 bytes, is drawn again as a JPEG that fits, at most 2000 pixels on its longest side. Requires the session cookie the pages' login sets: the appview writes with the session it keeps for that account.",
6 6
      "errors": [
7 7
        {
8 -
          "description": "No picture, one neither a PNG nor a JPEG, or one too large.",
8 +
          "description": "No picture, or one that is not a PNG, JPEG, WebP or GIF.",
9 9
          "name": "InvalidRequest"
10 10
        },
11 11
        {
12 12
          "description": "No account is logged in to the pages, or its session has ended.",
13 13
          "name": "AuthenticationRequired"
14 14
        }
15 15
      ],
16 16
      "input": {
17 17
        "encoding": "*/*"
18 18
      },
19 19
      "output": {
20 20
        "encoding": "application/json",
21 21
        "schema": {
22 22
          "ref": "dev.knotless.getOwnProfile#ownProfile",
23 23
          "type": "ref"
24 24
        }
25 25
      },
26 26
      "type": "procedure"
27 27
    }
28 28
  },
29 29
  "description": "Sets the picture of the account logged in to this appview's pages.",
30 30
  "id": "dev.knotless.uploadAvatar",
31 31
  "lexicon": 1
32 32
}

Compare Other Versions

Lexicon Garden

@