at main 37 lines 1.0 kB view raw
1{ 2 "lexicon": 1, 3 "id": "sh.weaver.graph.getList", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Get a list with its items.", 8 "parameters": { 9 "type": "params", 10 "required": ["list"], 11 "properties": { 12 "list": { "type": "string", "format": "at-uri" }, 13 "limit": { "type": "integer", "minimum": 1, "maximum": 100, "default": 50 }, 14 "cursor": { "type": "string" } 15 } 16 }, 17 "output": { 18 "encoding": "application/json", 19 "schema": { 20 "type": "object", 21 "required": ["list", "items"], 22 "properties": { 23 "list": { "type": "ref", "ref": "sh.weaver.graph.defs#listView" }, 24 "items": { 25 "type": "array", 26 "items": { "type": "ref", "ref": "sh.weaver.graph.defs#listItemView" } 27 }, 28 "cursor": { "type": "string" } 29 } 30 } 31 }, 32 "errors": [ 33 { "name": "ListNotFound" } 34 ] 35 } 36 } 37}