atproto blogging
1{
2 "lexicon": 1,
3 "id": "sh.weaver.notebook.searchEntries",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "Full-text search for entries with optional author and tag filtering.",
8 "parameters": {
9 "type": "params",
10 "required": ["q"],
11 "properties": {
12 "q": { "type": "string", "minLength": 1, "maxLength": 500 },
13 "author": { "type": "string", "format": "at-identifier" },
14 "tags": {
15 "type": "array",
16 "items": { "type": "string" },
17 "maxLength": 10
18 },
19 "limit": { "type": "integer", "minimum": 1, "maximum": 100, "default": 25 },
20 "cursor": { "type": "string" }
21 }
22 },
23 "output": {
24 "encoding": "application/json",
25 "schema": {
26 "type": "object",
27 "required": ["entries"],
28 "properties": {
29 "entries": {
30 "type": "array",
31 "items": { "type": "ref", "ref": "sh.weaver.notebook.defs#entryView" }
32 },
33 "cursor": { "type": "string" }
34 }
35 }
36 }
37 }
38 }
39}