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