-
Notifications
You must be signed in to change notification settings - Fork 413
/
getRepo.json
34 lines (34 loc) · 933 Bytes
/
getRepo.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"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",
"format": "did",
"description": "The DID of the repo."
},
"since": {
"type": "string",
"description": "The revision ('rev') of the repo to create a diff from."
}
}
},
"output": {
"encoding": "application/vnd.ipld.car"
},
"errors": [
{ "name": "RepoNotFound" },
{ "name": "RepoTakendown" },
{ "name": "RepoSuspended" },
{ "name": "RepoDeactivated" }
]
}
}
}