{ "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 }