forked from
nonbinary.computer/jacquard
A better Rust ATProto crate
1{
2 "lexicon": 1,
3 "id": "com.atproto.sync.getHead",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "DEPRECATED - please use com.atproto.sync.getLatestCommit instead",
8 "parameters": {
9 "type": "params",
10 "required": [
11 "did"
12 ],
13 "properties": {
14 "did": {
15 "type": "string",
16 "description": "The DID of the repo.",
17 "format": "did"
18 }
19 }
20 },
21 "output": {
22 "encoding": "application/json",
23 "schema": {
24 "type": "object",
25 "required": [
26 "root"
27 ],
28 "properties": {
29 "root": {
30 "type": "string",
31 "format": "cid"
32 }
33 }
34 }
35 },
36 "errors": [
37 {
38 "name": "HeadNotFound"
39 }
40 ]
41 }
42 }
43}