is.currents.actor.getProfile
Schema Diff
+8 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 4 non-breaking changes.
Non-Breaking Changes (4)
- AddedVertex AddedVertex { vertex_id: "is.currents.actor.getProfile:output.followersCount" }
- AddedVertex AddedVertex { vertex_id: "is.currents.actor.getProfile:output.followsCount" }
- AddedEdge AddedEdge { src: "is.currents.actor.getProfile:output", tgt: "is.currents.actor.getProfile:output.followersCount", kind: "prop", name: Some("followersCount") }
- AddedEdge AddedEdge { src: "is.currents.actor.getProfile:output", tgt: "is.currents.actor.getProfile:output.followsCount", kind: "prop", name: Some("followsCount") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "is.currents.actor.getProfile:output.followersCount" }AddedVertex { vertex_id: "is.currents.actor.getProfile:output.followsCount" }
Additional Notes
- Non-breaking: AddedEdge { src: "is.currents.actor.getProfile:output", tgt: "is.currents.actor.getProfile:output.followersCount", kind: "prop", name: Some("followersCount") }
- Non-breaking: AddedEdge { src: "is.currents.actor.getProfile:output", tgt: "is.currents.actor.getProfile:output.followsCount", kind: "prop", name: Some("followsCount") }
1
1
{
2
2
"id": "is.currents.actor.getProfile",
3
3
"defs": {
4
4
"main": {
5
5
"type": "query",
6
6
"output": {
7
7
"schema": {
8
8
"type": "object",
9
9
"required": [
10
10
"did",
11
11
"handle"
12
12
],
13
13
"properties": {
14
14
"did": {
15
15
"type": "string",
16
16
"format": "did"
17
17
},
18
18
"avatar": {
19
19
"type": "string",
20
20
"format": "uri"
21
21
},
22
22
"banner": {
23
23
"type": "string",
24
24
"format": "uri"
25
25
},
26
26
"handle": {
27
27
"type": "string",
28
28
"format": "handle"
29
29
},
30
30
"viewer": {
31
31
"ref": "is.currents.actor.defs#profileViewerState",
32
32
"type": "ref",
33
33
"description": "Viewer-specific state. Only present when the request is authenticated."
34
34
},
35
35
"website": {
36
36
"type": "string",
37
37
"format": "uri"
38
38
},
39
39
"pronouns": {
40
40
"type": "string"
41
41
},
42
42
"createdAt": {
43
43
"type": "string",
44
44
"format": "datetime"
45
45
},
46
46
"description": {
47
47
"type": "string"
48
48
},
49
49
"displayName": {
50
50
"type": "string"
51
+
},
52
+
"followsCount": {
53
+
"type": "integer",
54
+
"description": "Number of actors this actor follows."
55
+
},
56
+
"followersCount": {
57
+
"type": "integer",
58
+
"description": "Number of actors that follow this actor."
51
59
}
52
60
}
53
61
},
54
62
"encoding": "application/json"
55
63
},
56
64
"parameters": {
57
65
"type": "params",
58
66
"required": [
59
67
"actor"
60
68
],
61
69
"properties": {
62
70
"actor": {
63
71
"type": "string",
64
72
"format": "at-identifier",
65
73
"description": "DID or handle of the actor to fetch."
66
74
}
67
75
}
68
76
},
69
77
"description": "Get the detailed profile view of an actor by DID or handle."
70
78
}
71
79
},
72
80
"$type": "com.atproto.lexicon.schema",
73
81
"lexicon": 1
74
82
}