dev.knotless.getCommit

lexicons.knotless.dev

Documentation

A commit, and what it changed, file by file, as `git show` has it. No authentication needed; asked as an account, with a service token or the pages' session cookie, a private repository it is a member of is read too, and the answer is that account's alone.

main query

A commit, and what it changed, file by file, as `git show` has it. No authentication needed; asked as an account, with a service token or the pages' session cookie, a private repository it is a member of is read too, and the answer is that account's alone.

Parameters

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.

sha string Required

The commit, by object name or anything else git takes.

Output

Encodingapplication/json
files array Required

No description available.

Errors

NotFound No such repository, revision, path or record.
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 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 commit, by object name or anything else git takes.
View raw schema
{
  "description": "A commit, and what it changed, file by file, as `git show` has it. No authentication needed; asked as an account, with a service token or the pages' session cookie, a private repository it is a member of is read too, and the answer is that account's alone.",
  "errors": [
    {
      "description": "No such repository, revision, path or record.",
      "name": "NotFound"
    }
  ],
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "commit": {
          "ref": "dev.knotless.defs#commitView",
          "type": "ref"
        },
        "files": {
          "items": {
            "ref": "dev.knotless.defs#fileDiffView",
            "type": "ref"
          },
          "type": "array"
        }
      },
      "required": [
        "commit",
        "files"
      ],
      "type": "object"
    }
  },
  "parameters": {
    "properties": {
      "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"
      },
      "sha": {
        "description": "The commit, by object name or anything else git takes.",
        "maxLength": 1024,
        "type": "string"
      }
    },
    "required": [
      "repo",
      "sha"
    ],
    "type": "params"
  },
  "type": "query"
}

Lexicon Garden

@