dev.knotless.editItem
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Rewrites a dev.knotless.pull, dev.knotless.issue or dev.knotless.comment record in the account logged in to this appview's web pages, which must have written it, as `knotless edit` does: a pull's or an issue's title or body, or a comment's body. An empty body takes a pull's or an issue's away; a comment keeps one. Requires the session cookie the pages' login sets.",
"errors": [
{
"description": "No such repository.",
"name": "NotFound"
},
{
"description": "No account is logged in to the pages, or its session has ended.",
"name": "AuthenticationRequired"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"body": {
"description": "Its new body, in Markdown.",
"maxLength": 20000,
"type": "string"
},
"repo": {
"description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.",
"format": "at-uri",
"type": "string"
},
"subject": {
"description": "The pull, issue or comment to change.",
"format": "at-uri",
"type": "string"
},
"title": {
"description": "A pull's or an issue's new title.",
"maxGraphemes": 300,
"maxLength": 3000,
"type": "string"
}
},
"required": [
"repo",
"subject"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"uri": {
"description": "The record changed.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri"
],
"type": "object"
}
},
"type": "procedure"
}
},
"description": "Changes what a pull, an issue or a comment says, as its author, logged in to this appview's pages.",
"id": "dev.knotless.editItem",
"lexicon": 1
}
Metadata
- DID
-
did:plc:yqsg7znbbhfmj3a2nrpnaerk - CID
-
bafyreias7xqb4wyyoy5bavr7k4tfwqggnnw66r5hqd2upjsojw2xgult7e - Indexed At
- 2026-10-28 21:21 UTC
- AT-URI
-
at://did:plc:yqsg7znbbhfmj3a2nrpnaerk/com.atproto.lexicon.schema/dev.knotless.editItem
Version History (3 versions)
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
dev.knotless.createComment procedure
Comments on a pull or an issue, or on lines of a pull's diff, or answers a comment, or reviews a pull, as the account logged in to this appview's pages.
-
dev.knotless.createPull procedure
Opens a pull on a repository, as the account logged in to this appview's pages.
-
dev.knotless.createIssue procedure
Opens an issue on a repository, as the account logged in to this appview's pages.
-
dev.knotless.labelItem procedure
Puts a label on a pull or an issue, or takes it off, as the account logged in to this appview's pages.
-
dev.knotless.setItemState procedure
Closes or reopens a pull or an issue, or resolves a thread on a pull's lines or opens it again, as the account logged in to this appview's pages.