atproto blogging
1{
2 "lexicon": 1,
3 "id": "sh.weaver.graph.getFollowing",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "Get actors that an actor follows (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", "following"],
22 "properties": {
23 "subject": { "type": "ref", "ref": "sh.weaver.actor.defs#profileViewBasic" },
24 "following": {
25 "type": "array",
26 "items": { "type": "ref", "ref": "sh.weaver.actor.defs#profileViewBasic" }
27 },
28 "cursor": { "type": "string" }
29 }
30 }
31 }
32 }
33 }
34}