is.currents.actor.getProfile
Schema Diff
+5 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "is.currents.actor.getProfile:output.viewer" }
- 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.viewer" }
Additional Notes
- 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"
46
51
}
47
52
}
48
53
},
49
54
"encoding": "application/json"
50
55
},
51
56
"parameters": {
52
57
"type": "params",
53
58
"required": [
54
59
"actor"
55
60
],
56
61
"properties": {
57
62
"actor": {
58
63
"type": "string",
59
64
"format": "at-identifier",
60
65
"description": "DID or handle of the actor to fetch."
61
66
}
62
67
}
63
68
},
64
69
"description": "Get the detailed profile view of an actor by DID or handle."
65
70
}
66
71
},
67
72
"$type": "com.atproto.lexicon.schema",
68
73
"lexicon": 1
69
74
}