atproto blogging
1{
2 "lexicon": 1,
3 "id": "sh.weaver.actor.searchActors",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "Find actors matching search criteria.",
8 "parameters": {
9 "type": "params",
10 "required": ["q"],
11 "properties": {
12 "q": {
13 "type": "string",
14 "minLength": 1,
15 "maxLength": 100,
16 "description": "Search query - matches handle, display name, description."
17 },
18 "limit": { "type": "integer", "minimum": 1, "maximum": 100, "default": 25 },
19 "cursor": { "type": "string" }
20 }
21 },
22 "output": {
23 "encoding": "application/json",
24 "schema": {
25 "type": "object",
26 "required": ["actors"],
27 "properties": {
28 "actors": {
29 "type": "array",
30 "items": { "type": "ref", "ref": "sh.weaver.actor.defs#profileView" }
31 },
32 "cursor": { "type": "string" }
33 }
34 }
35 }
36 }
37 }
38}