full diff

dev.knotless.editItem

From
bafyreihuobzqkiswfk5k5qiwaveqameky6t7j426nlrl4ikcklkjr5usy4 indexed 2026-11-03 02:02 UTC View this version
To
bafyreiaxflmgmwfa4ce4docsvnywej5m2jzfxzuxxwiipdg37e5c27am3i 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": "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, and whether a pull is a draft. An empty body takes a pull's or an issue's away; a comment keeps one. Requires the session cookie the pages' login sets.",
5 "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 pull edit` does: a pull's or an issue's title or body, or a comment's body, and whether a pull is a draft. An empty body takes a pull's or an issue's away; a comment keeps one. Requires the session cookie the pages' login sets.",
66 "errors": [
77 {
88 "description": "No such repository.",
99 "name": "NotFound"
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": "application/json",
1818 "schema": {
1919 "properties": {
2020 "addReviewers": {
2121 "description": "For a pull, accounts to ask to review it, besides those it asks already. Any other item refuses it.",
2222 "items": {
2323 "ref": "#reviewer",
2424 "type": "ref"
2525 },
2626 "maxLength": 32,
2727 "type": "array"
2828 },
2929 "body": {
3030 "description": "Its new body, in Markdown.",
3131 "maxLength": 20000,
3232 "type": "string"
3333 },
3434 "draft": {
3535 "description": "For a pull, make it a draft, or with false mark it ready to merge. Left as it is, when absent; any other item refuses it.",
3636 "type": "boolean"
3737 },
3838 "images": {
3939 "description": "Pictures uploaded with dev.knotless.uploadImage for the new body. Of these and those it had, the new body's links decide which stay attached.",
4040 "items": {
4141 "ref": "dev.knotless.defs#image",
4242 "type": "ref"
4343 },
4444 "maxLength": 32,
4545 "type": "array"
4646 },
4747 "removeReviewers": {
4848 "description": "For a pull, accounts to stop asking to review it. Any other item refuses it.",
4949 "items": {
5050 "ref": "#reviewer",
5151 "type": "ref"
5252 },
5353 "maxLength": 32,
5454 "type": "array"
5555 },
5656 "repo": {
5757 "description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.",
5858 "format": "at-uri",
5959 "type": "string"
6060 },
6161 "subject": {
6262 "description": "The pull, issue or comment to change.",
6363 "format": "at-uri",
6464 "type": "string"
6565 },
6666 "title": {
6767 "description": "A pull's or an issue's new title.",
6868 "maxGraphemes": 300,
6969 "maxLength": 3000,
7070 "type": "string"
7171 }
7272 },
7373 "required": [
7474 "repo",
7575 "subject"
7676 ],
7777 "type": "object"
7878 }
7979 },
8080 "output": {
8181 "encoding": "application/json",
8282 "schema": {
8383 "properties": {
8484 "uri": {
8585 "description": "The record changed.",
8686 "format": "at-uri",
8787 "type": "string"
8888 }
8989 },
9090 "required": [
9191 "uri"
9292 ],
9393 "type": "object"
9494 }
9595 },
9696 "type": "procedure"
9797 },
9898 "reviewer": {
9999 "description": "An account asked, or no longer asked, to review a pull.",
100100 "properties": {
101101 "did": {
102102 "description": "The account, by DID.",
103103 "format": "did",
104104 "type": "string"
105105 }
106106 },
107107 "required": [
108108 "did"
109109 ],
110110 "type": "object"
111111 }
112112 },
113113 "description": "Changes what a pull, an issue or a comment says, as its author, logged in to this appview's pages.",
114114 "id": "dev.knotless.editItem",
115115 "lexicon": 1
116116}

Compare other versions