{ "id": "com.atproto.sync.getLatestCommit", "defs": { "main": { "type": "query", "errors": [ { "name": "RepoNotFound" }, { "name": "RepoTakendown" }, { "name": "RepoSuspended" }, { "name": "RepoDeactivated" } ], "output": { "schema": { "type": "object", "required": [ "cid", "rev" ], "properties": { "cid": { "type": "string", "format": "cid" }, "rev": { "type": "string", "format": "tid" } } }, "encoding": "application/json" }, "parameters": { "type": "params", "required": [ "did" ], "properties": { "did": { "type": "string", "format": "did", "description": "The DID of the repo." } } }, "description": "Get the current commit CID & revision of the specified repo. Does not require auth." } }, "$type": "com.atproto.lexicon.schema", "lexicon": 1 }