at main 46 lines 1.3 kB view raw
1{ 2 "lexicon": 1, 3 "id": "sh.weaver.notebook.getEntryFeed", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Get a feed of entries with optional algorithm and tag filtering.", 8 "parameters": { 9 "type": "params", 10 "properties": { 11 "algorithm": { 12 "type": "string", 13 "default": "chronological", 14 "knownValues": ["chronological", "popular"] 15 }, 16 "feed": { 17 "type": "string", 18 "format": "at-uri", 19 "description": "Optional custom feed generator URI" 20 }, 21 "tags": { 22 "type": "array", 23 "items": { "type": "string" }, 24 "maxLength": 10 25 }, 26 "limit": { "type": "integer", "minimum": 1, "maximum": 100, "default": 50 }, 27 "cursor": { "type": "string" } 28 } 29 }, 30 "output": { 31 "encoding": "application/json", 32 "schema": { 33 "type": "object", 34 "required": ["feed"], 35 "properties": { 36 "feed": { 37 "type": "array", 38 "items": { "type": "ref", "ref": "sh.weaver.notebook.defs#feedEntryView" } 39 }, 40 "cursor": { "type": "string" } 41 } 42 } 43 } 44 } 45 } 46}