atproto blogging
1{
2 "lexicon": 1,
3 "id": "com.atproto.sync.listReposByCollection",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "Enumerates all the DIDs which have records with the given collection NSID.",
8 "parameters": {
9 "type": "params",
10 "required": [
11 "collection"
12 ],
13 "properties": {
14 "collection": {
15 "type": "string",
16 "format": "nsid"
17 },
18 "cursor": {
19 "type": "string"
20 },
21 "limit": {
22 "type": "integer",
23 "description": "Maximum size of response set. Recommend setting a large maximum (1000+) when enumerating large DID lists.",
24 "default": 500,
25 "minimum": 1,
26 "maximum": 2000
27 }
28 }
29 },
30 "output": {
31 "encoding": "application/json",
32 "schema": {
33 "type": "object",
34 "required": [
35 "repos"
36 ],
37 "properties": {
38 "cursor": {
39 "type": "string"
40 },
41 "repos": {
42 "type": "array",
43 "items": {
44 "type": "ref",
45 "ref": "#repo"
46 }
47 }
48 }
49 }
50 }
51 },
52 "repo": {
53 "type": "object",
54 "required": [
55 "did"
56 ],
57 "properties": {
58 "did": {
59 "type": "string",
60 "format": "did"
61 }
62 }
63 }
64 }
65}