dev.knotless.getPullDiff
The files of a pull's diff that `paths` names, rows and all, as dev.knotless.getThread shows them, for a page that listed them with its `filesOnly`. No authentication; responses are not personalized.
Details · query
| Kind | query |
|---|---|
| Authority | knotless.dev |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "The files of a pull's diff that `paths` names, rows and all, as dev.knotless.getThread shows them, for a page that listed them with its `filesOnly`. No authentication; responses are not personalized.",
"errors": [
{
"description": "No such repository or pull, or the pull's branch is gone.",
"name": "NotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"files": {
"description": "Those of the files named that the pull changes, as an editor's file tree lists them, in each directory its directories before its files, each by name.",
"items": {
"ref": "dev.knotless.defs#fileDiffView",
"type": "ref"
},
"type": "array"
}
},
"required": [
"files"
],
"type": "object"
}
},
"parameters": {
"properties": {
"paths": {
"description": "The files, by their paths after the change, or before it for one deleted; a renamed file is found as such only when both its paths are named.",
"items": {
"maxLength": 4096,
"type": "string"
},
"maxLength": 50,
"minLength": 1,
"type": "array"
},
"repo": {
"description": "The repository's dev.knotless.repo record. Its authority may be a handle; a name the repository had before, or an owner it moved from with its agreement, finds it under the name it has now.",
"format": "at-uri",
"type": "string"
},
"uri": {
"description": "The dev.knotless.pull record.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"repo",
"uri",
"paths"
],
"type": "params"
},
"type": "query"
}
},
"description": "Some files of a pull's diff.",
"id": "dev.knotless.getPullDiff",
"lexicon": 1
}