dev.knotless.createComment
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Writes a dev.knotless.comment record in the account logged in to this appview's web pages, as `knotless comment` does: with a verdict, a review of the pull's head as it is now. Requires the session cookie the pages' login sets: the appview writes with the session it keeps for that account. Clients holding their own session write the record themselves.",
"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": "What it says, in Markdown.",
"maxLength": 20000,
"type": "string"
},
"images": {
"description": "Pictures uploaded with dev.knotless.uploadImage; those the body links to are attached.",
"items": {
"ref": "dev.knotless.defs#image",
"type": "ref"
},
"maxLength": 32,
"type": "array"
},
"repo": {
"description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.",
"format": "at-uri",
"type": "string"
},
"subject": {
"description": "The dev.knotless.pull or dev.knotless.issue commented on.",
"format": "at-uri",
"type": "string"
},
"verdict": {
"description": "For a review of a pull: `approve`, or `changes` to ask for changes.",
"knownValues": [
"approve",
"changes"
],
"maxLength": 64,
"type": "string"
}
},
"required": [
"repo",
"subject",
"body"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"uri": {
"description": "The dev.knotless.comment record written.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri"
],
"type": "object"
}
},
"type": "procedure"
}
},
"description": "Comments on a pull or an issue, or reviews a pull, as the account logged in to this appview's pages.",
"id": "dev.knotless.createComment",
"lexicon": 1
}
Metadata
- DID
-
did:plc:yqsg7znbbhfmj3a2nrpnaerk - CID
-
bafyreicl6pbf625qzxczi6srctdxidn7tnufgn5ju256dtrbleaz6vo6me - Indexed At
- 2026-10-28 23:15 UTC
- AT-URI
-
at://did:plc:yqsg7znbbhfmj3a2nrpnaerk/com.atproto.lexicon.schema/dev.knotless.createComment
Version History (3 versions)
Referenced Schemas (1)
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
dev.knotless.comment record
A comment on a pull or issue. With a verdict it is a review; with a line, a comment on lines of a pull's diff, starting a thread there; with a reply, an answer in such a thread.
-
dev.knotless.addReaction procedure
Reacts to a pull, an issue or a comment as the account logged in to this appview's pages.
-
dev.knotless.editItem procedure
Changes what a pull, an issue or a comment says, as its author, 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.deleteComment procedure
Takes back a comment or review, as its author, logged in to this appview's pages.