Live video on the AT Protocol
1{
2 "lexicon": 1,
3 "id": "com.atproto.sync.getRepo",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "Download a repository export as CAR file. Optionally only a 'diff' since a previous revision. Does not require auth; implemented by PDS.",
8 "parameters": {
9 "type": "params",
10 "required": ["did"],
11 "properties": {
12 "did": {
13 "type": "string",
14 "format": "did",
15 "description": "The DID of the repo."
16 },
17 "since": {
18 "type": "string",
19 "format": "tid",
20 "description": "The revision ('rev') of the repo to create a diff from."
21 }
22 }
23 },
24 "output": {
25 "encoding": "application/vnd.ipld.car"
26 },
27 "errors": [
28 { "name": "RepoNotFound" },
29 { "name": "RepoTakendown" },
30 { "name": "RepoSuspended" },
31 { "name": "RepoDeactivated" }
32 ]
33 }
34 }
35}