atproto blogging
at main 62 lines 1.3 kB view raw
1{ 2 "lexicon": 1, 3 "id": "com.atproto.repo.listMissingBlobs", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Returns a list of missing blobs for the requesting account. Intended to be used in the account migration flow.", 8 "parameters": { 9 "type": "params", 10 "properties": { 11 "cursor": { 12 "type": "string" 13 }, 14 "limit": { 15 "type": "integer", 16 "default": 500, 17 "minimum": 1, 18 "maximum": 1000 19 } 20 } 21 }, 22 "output": { 23 "encoding": "application/json", 24 "schema": { 25 "type": "object", 26 "required": [ 27 "blobs" 28 ], 29 "properties": { 30 "blobs": { 31 "type": "array", 32 "items": { 33 "type": "ref", 34 "ref": "#recordBlob" 35 } 36 }, 37 "cursor": { 38 "type": "string" 39 } 40 } 41 } 42 } 43 }, 44 "recordBlob": { 45 "type": "object", 46 "required": [ 47 "cid", 48 "recordUri" 49 ], 50 "properties": { 51 "cid": { 52 "type": "string", 53 "format": "cid" 54 }, 55 "recordUri": { 56 "type": "string", 57 "format": "at-uri" 58 } 59 } 60 } 61 } 62}