From
bafyreiaxs3khdqujnni7no7eofcudryhqwj4nvp2af3vogy77lb5mq2xuu
indexed 2026-10-28 23:15 UTC
View this version
To
bafyreic427dk6ipc42wtfcvc274xrqekwdri747hq4742ms6rhege5qswq
indexed 2026-11-04 13:32 UTC
View this version
Compatibility
backward compatible No changes detected.
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"main": {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.",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 account 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.",66
"errors": [77
{88
"description": "No picture, or one that is not a PNG, JPEG, WebP or GIF.",99
"name": "InvalidRequest"1010
},1111
{1212
"description": "No account is logged in to the pages, or its session has ended.",1313
"name": "AuthenticationRequired"1414
}1515
],1616
"input": {1717
"encoding": "*/*"1818
},1919
"output": {2020
"encoding": "application/json",2121
"schema": {2222
"ref": "dev.knotless.getOwnProfile#ownProfile",2323
"type": "ref"2424
}2525
},2626
"type": "procedure"2727
}2828
},2929
"description": "Sets the picture of the account logged in to this appview's pages.",3030
"id": "dev.knotless.uploadAvatar",3131
"lexicon": 13232
}