atproto blogging
at main 61 lines 1.3 kB view raw
1{ 2 "lexicon": 1, 3 "id": "tools.ozone.set.getValues", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Get a specific set and its values", 8 "parameters": { 9 "type": "params", 10 "required": [ 11 "name" 12 ], 13 "properties": { 14 "cursor": { 15 "type": "string" 16 }, 17 "limit": { 18 "type": "integer", 19 "default": 100, 20 "minimum": 1, 21 "maximum": 1000 22 }, 23 "name": { 24 "type": "string" 25 } 26 } 27 }, 28 "output": { 29 "encoding": "application/json", 30 "schema": { 31 "type": "object", 32 "required": [ 33 "set", 34 "values" 35 ], 36 "properties": { 37 "cursor": { 38 "type": "string" 39 }, 40 "set": { 41 "type": "ref", 42 "ref": "tools.ozone.set.defs#setView" 43 }, 44 "values": { 45 "type": "array", 46 "items": { 47 "type": "string" 48 } 49 } 50 } 51 } 52 }, 53 "errors": [ 54 { 55 "description": "set with the given name does not exist", 56 "name": "SetNotFound" 57 } 58 ] 59 } 60 } 61}