is.currents.actor.getProfile
Schema Diff
+13 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 6 non-breaking changes.
Non-Breaking Changes (6)
- AddedVertex AddedVertex { vertex_id: "is.currents.actor.getProfile:output.followersCount" }
- AddedVertex AddedVertex { vertex_id: "is.currents.actor.getProfile:output.followsCount" }
- AddedVertex AddedVertex { vertex_id: "is.currents.actor.getProfile:output.viewer" }
- 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") }
- AddedEdge AddedEdge { src: "is.currents.actor.getProfile:output", tgt: "is.currents.actor.getProfile:output.viewer", kind: "prop", name: Some("viewer") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "is.currents.actor.getProfile:output.followersCount" }AddedVertex { vertex_id: "is.currents.actor.getProfile:output.followsCount" }AddedVertex { vertex_id: "is.currents.actor.getProfile:output.viewer" }
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") }
- Non-breaking: AddedEdge { src: "is.currents.actor.getProfile:output", tgt: "is.currents.actor.getProfile:output.viewer", kind: "prop", name: Some("viewer") }
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
+
"viewer": {
31
+
"ref": "is.currents.actor.defs#profileViewerState",
32
+
"type": "ref",
33
+
"description": "Viewer-specific state. Only present when the request is authenticated."
34
+
},
30
35
"website": {
31
36
"type": "string",
32
37
"format": "uri"
33
38
},
34
39
"pronouns": {
35
40
"type": "string"
36
41
},
37
42
"createdAt": {
38
43
"type": "string",
39
44
"format": "datetime"
40
45
},
41
46
"description": {
42
47
"type": "string"
43
48
},
44
49
"displayName": {
45
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."
46
59
}
47
60
}
48
61
},
49
62
"encoding": "application/json"
50
63
},
51
64
"parameters": {
52
65
"type": "params",
53
66
"required": [
54
67
"actor"
55
68
],
56
69
"properties": {
57
70
"actor": {
58
71
"type": "string",
59
72
"format": "at-identifier",
60
73
"description": "DID or handle of the actor to fetch."
61
74
}
62
75
}
63
76
},
64
77
"description": "Get the detailed profile view of an actor by DID or handle."
65
78
}
66
79
},
67
80
"$type": "com.atproto.lexicon.schema",
68
81
"lexicon": 1
69
82
}