dev.knotless.getCommit
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"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"
}
},
"description": "A commit and what it changed.",
"id": "dev.knotless.getCommit",
"lexicon": 1
}
Metadata
- DID
-
did:plc:yqsg7znbbhfmj3a2nrpnaerk - CID
-
bafyreierwnrqoqzryyci33xzhytijgofri6e6pz6b4zcx7m73stwhl5yme - Indexed At
- 2026-10-28 21:21 UTC
- AT-URI
-
at://did:plc:yqsg7znbbhfmj3a2nrpnaerk/com.atproto.lexicon.schema/dev.knotless.getCommit
Referenced Schemas (2)
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
The newest commit to change each entry of a directory.
-
dev.knotless.getBlame query
Who last changed each line of a file at a revision.
-
dev.knotless.listCommits query
A repository's history.
-
dev.knotless.getPullDiff query
Some files of a pull's diff.
-
dev.knotless.getFile query
One file of a repository at a revision.