dev.knotless.getPullDiff

lexicons.knotless.dev

Documentation

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.

main query

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.

Parameters

paths array of string Required

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.

repo string at-uri Required

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.

uri string at-uri Required

The dev.knotless.pull record.

Output

Encodingapplication/json
files array Required

Those of the files named that the pull changes, in the diff's order.

Errors

NotFound No such repository or pull, or the pull's branch is gone.
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
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.
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.
The dev.knotless.pull record.
View raw schema
{
  "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, in the diff's order.",
          "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"
}

Lexicon Garden

@