From
bafyreif2uvzshsm47c726htg7ldw5zrjgpeqlbd5lj6y4qboepufxgry5i
indexed 2026-10-29 06:54 UTC
View this version
To
bafyreigoyhbz3zczpeuhp3nnun3ugjiggkyt2qlhejfvt7stn7e6wfmbny
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
"lineComment": {55
"description": "A comment on lines of a pull's diff.",66
"properties": {77
"body": {88
"description": "What it says, in Markdown.",99
"maxLength": 20000,1010
"type": "string"1111
},1212
"line": {1313
"description": "The last line commented on, counting from 1, in the file as it is on that side.",1414
"minimum": 1,1515
"type": "integer"1616
},1717
"path": {1818
"description": "The file's path on the side commented on.",1919
"maxLength": 1024,2020
"type": "string"2121
},2222
"side": {2323
"description": "`new`, the side the pull brings in, or `old`, the side it leaves. Absent, `new`.",2424
"knownValues": [2525
"old",2626
"new"2727
],2828
"maxLength": 16,2929
"type": "string"3030
},3131
"startLine": {3232
"description": "The first, for more than one line.",3333
"minimum": 1,3434
"type": "integer"3535
}3636
},3737
"required": [3838
"path",3939
"line",4040
"body"4141
],4242
"type": "object"4343
},4444
"main": {45
"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.",45
"description": "Writes a dev.knotless.comment record in the account logged in to this appview's web pages, as `knotless comment add` 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.",4646
"errors": [4747
{4848
"description": "No such repository.",4949
"name": "NotFound"5050
},5151
{5252
"description": "No account is logged in to the pages, or its session has ended.",5353
"name": "AuthenticationRequired"5454
}5555
],5656
"input": {5757
"encoding": "application/json",5858
"schema": {5959
"properties": {6060
"body": {6161
"description": "What it says, in Markdown.",6262
"maxLength": 20000,6363
"type": "string"6464
},6565
"images": {6666
"description": "Pictures uploaded with dev.knotless.uploadImage; those the body links to are attached.",6767
"items": {6868
"ref": "dev.knotless.defs#image",6969
"type": "ref"7070
},7171
"maxLength": 32,7272
"type": "array"7373
},7474
"lines": {7575
"description": "Comments on lines of a pull's diff, at its head as it is now, each starting a thread, written at once: as the review's when it has a body or a verdict, else on their own.",7676
"items": {7777
"ref": "#lineComment",7878
"type": "ref"7979
},8080
"maxLength": 100,8181
"type": "array"8282
},8383
"repo": {8484
"description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.",8585
"format": "at-uri",8686
"type": "string"8787
},8888
"subject": {8989
"description": "The dev.knotless.pull or dev.knotless.issue commented on; or a dev.knotless.comment to answer, in the thread it starts or is in.",9090
"format": "at-uri",9191
"type": "string"9292
},9393
"verdict": {9494
"description": "For a review of a pull: `approve`, or `changes` to ask for changes.",9595
"knownValues": [9696
"approve",9797
"changes"9898
],9999
"maxLength": 64,100100
"type": "string"101101
}102102
},103103
"required": [104104
"repo",105105
"subject",106106
"body"107107
],108108
"type": "object"109109
}110110
},111111
"output": {112112
"encoding": "application/json",113113
"schema": {114114
"properties": {115115
"uri": {116116
"description": "The dev.knotless.comment record written: with lines, the review, or without one the first line comment.",117117
"format": "at-uri",118118
"type": "string"119119
}120120
},121121
"required": [122122
"uri"123123
],124124
"type": "object"125125
}126126
},127127
"type": "procedure"128128
}129129
},130130
"description": "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.",131131
"id": "dev.knotless.createComment",132132
"lexicon": 1133133
}