From
bafyreifkusx4zq7yswabgcqih7zswoxkssz5kt2x4r6rops56yoqkfcxui
indexed 2026-10-30 06:01 UTC
View this version
To
bafyreibhpgy3k67u2ngxazh3ezjpfvuft6cuc53eo3ovjhbzwqag774xme
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, as `knotless issue --image` does: one over 1,000,000 bytes is drawn again as a JPEG that fits, at most 2000 pixels on its longest side. Its PDS keeps it only once a record attaches it: give it as one of dev.knotless.createIssue's, createPull's, createComment's or editItem's `images`, with a body linking to `url`. Requires the session cookie the pages' login sets.",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, as `knotless issue create --image` does: one over 1,000,000 bytes is drawn again as a JPEG that fits, at most 2000 pixels on its longest side. Its PDS keeps it only once a record attaches it: give it as one of dev.knotless.createIssue's, createPull's, createComment's or editItem's `images`, with a body linking to `url`. Requires the session cookie the pages' login sets.",66
"errors": [77
{88
"description": "No such repository.",99
"name": "NotFound"1010
},1111
{1212
"description": "No picture, or one that is not a PNG, JPEG, WebP or GIF.",1313
"name": "InvalidRequest"1414
},1515
{1616
"description": "No account is logged in to the pages, or its session has ended.",1717
"name": "AuthenticationRequired"1818
}1919
],2020
"input": {2121
"encoding": "*/*"2222
},2323
"output": {2424
"encoding": "application/json",2525
"schema": {2626
"properties": {2727
"blob": {2828
"accept": [2929
"image/png",3030
"image/jpeg",3131
"image/webp",3232
"image/gif"3333
],3434
"description": "The picture as uploaded, to attach.",3535
"maxSize": 1000000,3636
"type": "blob"3737
},3838
"height": {3939
"description": "How high it is drawn, in CSS pixels.",4040
"minimum": 1,4141
"type": "integer"4242
},4343
"url": {4444
"description": "Where its account's PDS serves it, for the body to link to.",4545
"format": "uri",4646
"type": "string"4747
},4848
"width": {4949
"description": "How wide it is drawn, in CSS pixels, as dev.knotless.defs#image's `width`: its pixels over the density a PNG says it was made at. Give it, and `height`, with the blob in `images`.",5050
"minimum": 1,5151
"type": "integer"5252
}5353
},5454
"required": [5555
"blob",5656
"url"5757
],5858
"type": "object"5959
}6060
},6161
"parameters": {6262
"properties": {6363
"repo": {6464
"description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it, whose pull, issue or comment will show it.",6565
"format": "at-uri",6666
"type": "string"6767
}6868
},6969
"required": [7070
"repo"7171
],7272
"type": "params"7373
},7474
"type": "procedure"7575
}7676
},7777
"description": "Uploads a picture to show in a pull, an issue or a comment, as the account logged in to this appview's pages.",7878
"id": "dev.knotless.uploadImage",7979
"lexicon": 18080
}