atproto blogging
at main 67 lines 1.9 kB view raw
1{ 2 "lexicon": 1, 3 "id": "app.bsky.unspecced.searchStarterPacksSkeleton", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Backend Starter Pack search, returns only skeleton.", 8 "parameters": { 9 "type": "params", 10 "required": [ 11 "q" 12 ], 13 "properties": { 14 "cursor": { 15 "type": "string", 16 "description": "Optional pagination mechanism; may not necessarily allow scrolling through entire result set." 17 }, 18 "limit": { 19 "type": "integer", 20 "default": 25, 21 "minimum": 1, 22 "maximum": 100 23 }, 24 "q": { 25 "type": "string", 26 "description": "Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended." 27 }, 28 "viewer": { 29 "type": "string", 30 "description": "DID of the account making the request (not included for public/unauthenticated queries).", 31 "format": "did" 32 } 33 } 34 }, 35 "output": { 36 "encoding": "application/json", 37 "schema": { 38 "type": "object", 39 "required": [ 40 "starterPacks" 41 ], 42 "properties": { 43 "cursor": { 44 "type": "string" 45 }, 46 "hitsTotal": { 47 "type": "integer", 48 "description": "Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits." 49 }, 50 "starterPacks": { 51 "type": "array", 52 "items": { 53 "type": "ref", 54 "ref": "app.bsky.unspecced.defs#skeletonSearchStarterPack" 55 } 56 } 57 } 58 } 59 }, 60 "errors": [ 61 { 62 "name": "BadQueryString" 63 } 64 ] 65 } 66 } 67}