Live video on the AT Protocol
1{
2 "lexicon": 1,
3 "id": "place.stream.graph.getFollowingUser",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "Get whether or not user A is following user B.",
8 "parameters": {
9 "type": "params",
10 "required": ["userDID", "subjectDID"],
11 "properties": {
12 "userDID": {
13 "type": "string",
14 "format": "did",
15 "description": "The DID of the potentially-following user"
16 },
17 "subjectDID": {
18 "type": "string",
19 "format": "did",
20 "description": "The DID of the user potentially being followed"
21 }
22 }
23 },
24 "output": {
25 "encoding": "application/json",
26 "schema": {
27 "type": "object",
28 "required": [],
29 "properties": {
30 "follow": {
31 "type": "ref",
32 "ref": "com.atproto.repo.strongRef"
33 }
34 }
35 }
36 }
37 }
38 }
39}