at main 34 lines 1.0 kB view raw
1{ 2 "lexicon": 1, 3 "id": "sh.weaver.graph.getFollowers", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Get followers of an actor (accepted follows only).", 8 "parameters": { 9 "type": "params", 10 "required": ["actor"], 11 "properties": { 12 "actor": { "type": "string", "format": "at-identifier" }, 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": ["subject", "followers"], 22 "properties": { 23 "subject": { "type": "ref", "ref": "sh.weaver.actor.defs#profileViewBasic" }, 24 "followers": { 25 "type": "array", 26 "items": { "type": "ref", "ref": "sh.weaver.actor.defs#profileViewBasic" } 27 }, 28 "cursor": { "type": "string" } 29 } 30 } 31 } 32 } 33 } 34}