atproto blogging
1{
2 "lexicon": 1,
3 "id": "com.atproto.sync.listBlobs",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "List blob CIDs for an account, since some repo revision. Does not require auth; implemented by PDS.",
8 "parameters": {
9 "type": "params",
10 "required": [
11 "did"
12 ],
13 "properties": {
14 "cursor": {
15 "type": "string"
16 },
17 "did": {
18 "type": "string",
19 "description": "The DID of the repo.",
20 "format": "did"
21 },
22 "limit": {
23 "type": "integer",
24 "default": 500,
25 "minimum": 1,
26 "maximum": 1000
27 },
28 "since": {
29 "type": "string",
30 "description": "Optional revision of the repo to list blobs since.",
31 "format": "tid"
32 }
33 }
34 },
35 "output": {
36 "encoding": "application/json",
37 "schema": {
38 "type": "object",
39 "required": [
40 "cids"
41 ],
42 "properties": {
43 "cids": {
44 "type": "array",
45 "items": {
46 "type": "string",
47 "format": "cid"
48 }
49 },
50 "cursor": {
51 "type": "string"
52 }
53 }
54 }
55 },
56 "errors": [
57 {
58 "name": "RepoNotFound"
59 },
60 {
61 "name": "RepoTakendown"
62 },
63 {
64 "name": "RepoSuspended"
65 },
66 {
67 "name": "RepoDeactivated"
68 }
69 ]
70 }
71 }
72}