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