{ "lexicon": 1, "id": "com.atproto.sync.getRepo", "defs": { "main": { "type": "query", "description": "Download a repository export as CAR file. Optionally only a 'diff' since a previous revision. Does not require auth; implemented by PDS.", "parameters": { "type": "params", "required": [ "did" ], "properties": { "did": { "type": "string", "description": "The DID of the repo.", "format": "did" }, "since": { "type": "string", "description": "The revision ('rev') of the repo to create a diff from.", "format": "tid" } } }, "output": { "encoding": "application/vnd.ipld.car" }, "errors": [ { "name": "RepoNotFound" }, { "name": "RepoTakendown" }, { "name": "RepoSuspended" }, { "name": "RepoDeactivated" } ] } } }