dev.knotless.uploadImage
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"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.",
"errors": [
{
"description": "No such repository.",
"name": "NotFound"
},
{
"description": "No picture, or one that is not a PNG, JPEG, WebP or GIF.",
"name": "InvalidRequest"
},
{
"description": "No account is logged in to the pages, or its session has ended.",
"name": "AuthenticationRequired"
}
],
"input": {
"encoding": "*/*"
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"blob": {
"accept": [
"image/png",
"image/jpeg",
"image/webp",
"image/gif"
],
"description": "The picture as uploaded, to attach.",
"maxSize": 1000000,
"type": "blob"
},
"url": {
"description": "Where its account's PDS serves it, for the body to link to.",
"format": "uri",
"type": "string"
}
},
"required": [
"blob",
"url"
],
"type": "object"
}
},
"parameters": {
"properties": {
"repo": {
"description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it, whose pull, issue or comment will show it.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"repo"
],
"type": "params"
},
"type": "procedure"
}
},
"description": "Uploads a picture to show in a pull, an issue or a comment, as the account logged in to this appview's pages.",
"id": "dev.knotless.uploadImage",
"lexicon": 1
}
Metadata
- DID
-
did:plc:yqsg7znbbhfmj3a2nrpnaerk - CID
-
bafyreidlwotydgj5z2sif6jnq5hecz7mbvf2wxulpwfubq4toqmrqomt2q - Indexed At
- 2026-10-28 23:15 UTC
- AT-URI
-
at://did:plc:yqsg7znbbhfmj3a2nrpnaerk/com.atproto.lexicon.schema/dev.knotless.uploadImage
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
dev.knotless.uploadAvatar procedure
Sets the picture of the account logged in to this appview's pages.
-
app.didpic.write.uploadBlob procedure
Upload raw image bytes to the authenticated viewer's own PDS, mediated by the AppView using its server-held session (confidential OAuth client only). Mirrors com.atproto.repo.uploadBlob. The returned blob ref is passed …
-
Something a pull, an issue or a comment attaches, such as a picture its body shows.
-
dev.knotless.createIssue procedure
Opens an issue on a repository, as the account logged in to this appview's pages.