{
"id": "zone.stratos.sync.getRepo",
"defs": {
"main": {
"type": "query",
"errors": [
{
"name": "RepoNotFound",
"description": "The requested repo does not exist or has no commits."
}
],
"output": {
"encoding": "application/vnd.ipld.car"
},
"parameters": {
"type": "params",
"required": [
"did"
],
"properties": {
"did": {
"type": "string",
"format": "did",
"description": "The DID of the repo to export."
},
"since": {
"type": "string",
"format": "tid",
"description": "Optional revision cursor. If provided, only blocks newer than this revision are included."
}
}
},
"description": "Export the full repository as a CAR file. Returns all record blocks, MST nodes, and the signed commit."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}