atproto blogging
1{
2 "lexicon": 1,
3 "id": "tools.ozone.moderation.searchRepos",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "Find repositories based on a search term.",
8 "parameters": {
9 "type": "params",
10 "properties": {
11 "cursor": {
12 "type": "string"
13 },
14 "limit": {
15 "type": "integer",
16 "default": 50,
17 "minimum": 1,
18 "maximum": 100
19 },
20 "q": {
21 "type": "string"
22 },
23 "term": {
24 "type": "string",
25 "description": "DEPRECATED: use 'q' instead"
26 }
27 }
28 },
29 "output": {
30 "encoding": "application/json",
31 "schema": {
32 "type": "object",
33 "required": [
34 "repos"
35 ],
36 "properties": {
37 "cursor": {
38 "type": "string"
39 },
40 "repos": {
41 "type": "array",
42 "items": {
43 "type": "ref",
44 "ref": "tools.ozone.moderation.defs#repoView"
45 }
46 }
47 }
48 }
49 }
50 }
51 }
52}