atproto blogging
at main 64 lines 1.4 kB view raw
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": [ 11 "q" 12 ], 13 "properties": { 14 "author": { 15 "type": "string", 16 "format": "at-identifier" 17 }, 18 "cursor": { 19 "type": "string" 20 }, 21 "limit": { 22 "type": "integer", 23 "default": 25, 24 "minimum": 1, 25 "maximum": 100 26 }, 27 "q": { 28 "type": "string", 29 "minLength": 1, 30 "maxLength": 500 31 }, 32 "tags": { 33 "type": "array", 34 "items": { 35 "type": "string" 36 }, 37 "maxLength": 10 38 } 39 } 40 }, 41 "output": { 42 "encoding": "application/json", 43 "schema": { 44 "type": "object", 45 "required": [ 46 "entries" 47 ], 48 "properties": { 49 "cursor": { 50 "type": "string" 51 }, 52 "entries": { 53 "type": "array", 54 "items": { 55 "type": "ref", 56 "ref": "sh.weaver.notebook.defs#entryView" 57 } 58 } 59 } 60 } 61 } 62 } 63 } 64}