atproto blogging
at main 66 lines 1.6 kB view raw
1{ 2 "lexicon": 1, 3 "id": "tools.ozone.setting.listOptions", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "List settings with optional filtering", 8 "parameters": { 9 "type": "params", 10 "properties": { 11 "cursor": { 12 "type": "string" 13 }, 14 "keys": { 15 "type": "array", 16 "description": "Filter for only the specified keys. Ignored if prefix is provided", 17 "items": { 18 "type": "string", 19 "format": "nsid" 20 }, 21 "maxLength": 100 22 }, 23 "limit": { 24 "type": "integer", 25 "default": 50, 26 "minimum": 1, 27 "maximum": 100 28 }, 29 "prefix": { 30 "type": "string", 31 "description": "Filter keys by prefix" 32 }, 33 "scope": { 34 "type": "string", 35 "default": "instance", 36 "knownValues": [ 37 "instance", 38 "personal" 39 ] 40 } 41 } 42 }, 43 "output": { 44 "encoding": "application/json", 45 "schema": { 46 "type": "object", 47 "required": [ 48 "options" 49 ], 50 "properties": { 51 "cursor": { 52 "type": "string" 53 }, 54 "options": { 55 "type": "array", 56 "items": { 57 "type": "ref", 58 "ref": "tools.ozone.setting.defs#option" 59 } 60 } 61 } 62 } 63 } 64 } 65 } 66}