532681d5c0
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
45 lines
921 B
JSON
45 lines
921 B
JSON
{
|
|
"id": "com.atproto.sync.getHead",
|
|
"defs": {
|
|
"main": {
|
|
"type": "query",
|
|
"errors": [
|
|
{
|
|
"name": "HeadNotFound"
|
|
}
|
|
],
|
|
"output": {
|
|
"schema": {
|
|
"type": "object",
|
|
"required": [
|
|
"root"
|
|
],
|
|
"properties": {
|
|
"root": {
|
|
"type": "string",
|
|
"format": "cid"
|
|
}
|
|
}
|
|
},
|
|
"encoding": "application/json"
|
|
},
|
|
"parameters": {
|
|
"type": "params",
|
|
"required": [
|
|
"did"
|
|
],
|
|
"properties": {
|
|
"did": {
|
|
"type": "string",
|
|
"format": "did",
|
|
"description": "The DID of the repo."
|
|
}
|
|
}
|
|
},
|
|
"description": "DEPRECATED - please use com.atproto.sync.getLatestCommit instead"
|
|
}
|
|
},
|
|
"$type": "com.atproto.lexicon.schema",
|
|
"lexicon": 1
|
|
}
|