atproto blogging
at main 45 lines 1.1 kB view raw
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": [ 11 "did" 12 ], 13 "properties": { 14 "did": { 15 "type": "string", 16 "description": "The DID of the repo.", 17 "format": "did" 18 }, 19 "since": { 20 "type": "string", 21 "description": "The revision ('rev') of the repo to create a diff from.", 22 "format": "tid" 23 } 24 } 25 }, 26 "output": { 27 "encoding": "application/vnd.ipld.car" 28 }, 29 "errors": [ 30 { 31 "name": "RepoNotFound" 32 }, 33 { 34 "name": "RepoTakendown" 35 }, 36 { 37 "name": "RepoSuspended" 38 }, 39 { 40 "name": "RepoDeactivated" 41 } 42 ] 43 } 44 } 45}