atproto blogging
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": [
11 "actor"
12 ],
13 "properties": {
14 "actor": {
15 "type": "string",
16 "format": "at-identifier"
17 },
18 "cursor": {
19 "type": "string"
20 },
21 "limit": {
22 "type": "integer",
23 "default": 50,
24 "minimum": 1,
25 "maximum": 100
26 }
27 }
28 },
29 "output": {
30 "encoding": "application/json",
31 "schema": {
32 "type": "object",
33 "required": [
34 "subject",
35 "followers"
36 ],
37 "properties": {
38 "cursor": {
39 "type": "string"
40 },
41 "followers": {
42 "type": "array",
43 "items": {
44 "type": "ref",
45 "ref": "sh.weaver.actor.defs#profileViewBasic"
46 }
47 },
48 "subject": {
49 "type": "ref",
50 "ref": "sh.weaver.actor.defs#profileViewBasic"
51 }
52 }
53 }
54 }
55 }
56 }
57}