app.standard-reader.getAuthor
Schema Diff
+34 -20
Compatibility Analysis
Breaking Changes Detected
13 breaking changes, 17 non-breaking changes.
Breaking Changes (13)
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "app.standard-reader.getAuthor:output", src: "app.standard-reader.getAuthor:output", tgt: "app.standard-reader.getAuthor:output.publications", kind: "prop", name: Some("publications") }
- RemovedVertex RemovedVertex { vertex_id: "app.standard-reader.getAuthor:output.stats.documentCount" }
- RemovedVertex RemovedVertex { vertex_id: "app.standard-reader.getAuthor:output.stats.followingCount" }
- RemovedVertex RemovedVertex { vertex_id: "app.standard-reader.getAuthor:output.stats.likeCount" }
- RemovedVertex RemovedVertex { vertex_id: "app.standard-reader.getAuthor:output.stats.publicationCount" }
- RemovedVertex RemovedVertex { vertex_id: "app.standard-reader.getAuthor:output.stats.subscriberCount" }
- RemovedEdge RemovedEdge { src: "app.standard-reader.getAuthor:output.stats", tgt: "app.standard-reader.getAuthor:output.stats.documentCount", kind: "prop", name: Some("documentCount") }
- RemovedEdge RemovedEdge { src: "app.standard-reader.getAuthor:output.stats", tgt: "app.standard-reader.getAuthor:output.stats.followingCount", kind: "prop", name: Some("followingCount") }
- RemovedEdge RemovedEdge { src: "app.standard-reader.getAuthor:output.stats", tgt: "app.standard-reader.getAuthor:output.stats.likeCount", kind: "prop", name: Some("likeCount") }
- RemovedEdge RemovedEdge { src: "app.standard-reader.getAuthor:output.stats", tgt: "app.standard-reader.getAuthor:output.stats.publicationCount", kind: "prop", name: Some("publicationCount") }
- RemovedEdge RemovedEdge { src: "app.standard-reader.getAuthor:output.stats", tgt: "app.standard-reader.getAuthor:output.stats.subscriberCount", kind: "prop", name: Some("subscriberCount") }
- KindChanged KindChanged { vertex_id: "app.standard-reader.getAuthor:output.stats", old_kind: "object", new_kind: "ref" }
- ConstraintAdded ConstraintAdded { vertex_id: "app.standard-reader.getAuthor:output.stats", sort: "ref", value: "app.standard-reader.getAuthor#stats" }
Non-Breaking Changes (17)
- AddedVertex AddedVertex { vertex_id: "app.standard-reader.defs#publicationView" }
- AddedVertex AddedVertex { vertex_id: "app.standard-reader.getAuthor#stats" }
- AddedVertex AddedVertex { vertex_id: "app.standard-reader.getAuthor#stats.documentCount" }
- AddedVertex AddedVertex { vertex_id: "app.standard-reader.getAuthor#stats.followingCount" }
- AddedVertex AddedVertex { vertex_id: "app.standard-reader.getAuthor#stats.likeCount" }
- AddedVertex AddedVertex { vertex_id: "app.standard-reader.getAuthor#stats.publicationCount" }
- AddedVertex AddedVertex { vertex_id: "app.standard-reader.getAuthor#stats.subscriberCount" }
- AddedVertex AddedVertex { vertex_id: "app.standard-reader.getAuthor:output.publications" }
- AddedVertex AddedVertex { vertex_id: "app.standard-reader.getAuthor:output.publications:items" }
- AddedEdge AddedEdge { src: "app.standard-reader.getAuthor#stats", tgt: "app.standard-reader.getAuthor#stats.documentCount", kind: "prop", name: Some("documentCount") }
- AddedEdge AddedEdge { src: "app.standard-reader.getAuthor#stats", tgt: "app.standard-reader.getAuthor#stats.followingCount", kind: "prop", name: Some("followingCount") }
- AddedEdge AddedEdge { src: "app.standard-reader.getAuthor#stats", tgt: "app.standard-reader.getAuthor#stats.likeCount", kind: "prop", name: Some("likeCount") }
- AddedEdge AddedEdge { src: "app.standard-reader.getAuthor#stats", tgt: "app.standard-reader.getAuthor#stats.publicationCount", kind: "prop", name: Some("publicationCount") }
- AddedEdge AddedEdge { src: "app.standard-reader.getAuthor#stats", tgt: "app.standard-reader.getAuthor#stats.subscriberCount", kind: "prop", name: Some("subscriberCount") }
- AddedEdge AddedEdge { src: "app.standard-reader.getAuthor:output.publications", tgt: "app.standard-reader.getAuthor:output.publications:items", kind: "items", name: None }
- AddedEdge AddedEdge { src: "app.standard-reader.getAuthor:output.publications:items", tgt: "app.standard-reader.defs#publicationView", kind: "ref", name: None }
- AddedEdge AddedEdge { src: "app.standard-reader.getAuthor:output.stats", tgt: "app.standard-reader.getAuthor#stats", kind: "ref", name: None }
Migration Guidance
Removed Elements
RemovedVertex { vertex_id: "app.standard-reader.getAuthor:output.stats.documentCount" }RemovedVertex { vertex_id: "app.standard-reader.getAuthor:output.stats.followingCount" }RemovedVertex { vertex_id: "app.standard-reader.getAuthor:output.stats.likeCount" }RemovedVertex { vertex_id: "app.standard-reader.getAuthor:output.stats.publicationCount" }RemovedVertex { vertex_id: "app.standard-reader.getAuthor:output.stats.subscriberCount" }
Added Elements
AddedVertex { vertex_id: "app.standard-reader.defs#publicationView" }AddedVertex { vertex_id: "app.standard-reader.getAuthor#stats" }AddedVertex { vertex_id: "app.standard-reader.getAuthor#stats.documentCount" }AddedVertex { vertex_id: "app.standard-reader.getAuthor#stats.followingCount" }AddedVertex { vertex_id: "app.standard-reader.getAuthor#stats.likeCount" }AddedVertex { vertex_id: "app.standard-reader.getAuthor#stats.publicationCount" }AddedVertex { vertex_id: "app.standard-reader.getAuthor#stats.subscriberCount" }AddedVertex { vertex_id: "app.standard-reader.getAuthor:output.publications" }AddedVertex { vertex_id: "app.standard-reader.getAuthor:output.publications:items" }
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "app.standard-reader.getAuthor:output.stats", sort: "ref", value: "app.standard-reader.getAuthor#stats" }
Additional Notes
- Breaking: RequiredEdgeAdded { vertex_id: "app.standard-reader.getAuthor:output", src: "app.standard-reader.getAuthor:output", tgt: "app.standard-reader.getAuthor:output.publications", kind: "prop", name: Some("publications") }
- Breaking: RemovedEdge { src: "app.standard-reader.getAuthor:output.stats", tgt: "app.standard-reader.getAuthor:output.stats.documentCount", kind: "prop", name: Some("documentCount") }
- Breaking: RemovedEdge { src: "app.standard-reader.getAuthor:output.stats", tgt: "app.standard-reader.getAuthor:output.stats.followingCount", kind: "prop", name: Some("followingCount") }
- Breaking: RemovedEdge { src: "app.standard-reader.getAuthor:output.stats", tgt: "app.standard-reader.getAuthor:output.stats.likeCount", kind: "prop", name: Some("likeCount") }
- Breaking: RemovedEdge { src: "app.standard-reader.getAuthor:output.stats", tgt: "app.standard-reader.getAuthor:output.stats.publicationCount", kind: "prop", name: Some("publicationCount") }
- Breaking: RemovedEdge { src: "app.standard-reader.getAuthor:output.stats", tgt: "app.standard-reader.getAuthor:output.stats.subscriberCount", kind: "prop", name: Some("subscriberCount") }
- Breaking: KindChanged { vertex_id: "app.standard-reader.getAuthor:output.stats", old_kind: "object", new_kind: "ref" }
- Non-breaking: AddedEdge { src: "app.standard-reader.getAuthor#stats", tgt: "app.standard-reader.getAuthor#stats.documentCount", kind: "prop", name: Some("documentCount") }
- Non-breaking: AddedEdge { src: "app.standard-reader.getAuthor#stats", tgt: "app.standard-reader.getAuthor#stats.followingCount", kind: "prop", name: Some("followingCount") }
- Non-breaking: AddedEdge { src: "app.standard-reader.getAuthor#stats", tgt: "app.standard-reader.getAuthor#stats.likeCount", kind: "prop", name: Some("likeCount") }
- Non-breaking: AddedEdge { src: "app.standard-reader.getAuthor#stats", tgt: "app.standard-reader.getAuthor#stats.publicationCount", kind: "prop", name: Some("publicationCount") }
- Non-breaking: AddedEdge { src: "app.standard-reader.getAuthor#stats", tgt: "app.standard-reader.getAuthor#stats.subscriberCount", kind: "prop", name: Some("subscriberCount") }
- Non-breaking: AddedEdge { src: "app.standard-reader.getAuthor:output.publications", tgt: "app.standard-reader.getAuthor:output.publications:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "app.standard-reader.getAuthor:output.publications:items", tgt: "app.standard-reader.defs#publicationView", kind: "ref", name: None }
- Non-breaking: AddedEdge { src: "app.standard-reader.getAuthor:output.stats", tgt: "app.standard-reader.getAuthor#stats", kind: "ref", name: None }
1
1
{
2
2
"id": "app.standard-reader.getAuthor",
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
"profile",
11
-
"stats"
11
+
"stats",
12
+
"publications"
12
13
],
13
14
"properties": {
14
15
"stats": {
15
-
"type": "object",
16
-
"properties": {
17
-
"likeCount": {
18
-
"type": "integer"
19
-
},
20
-
"documentCount": {
21
-
"type": "integer"
22
-
},
23
-
"followingCount": {
24
-
"type": "integer"
25
-
},
26
-
"subscriberCount": {
27
-
"type": "integer"
28
-
},
29
-
"publicationCount": {
30
-
"type": "integer"
31
-
}
32
-
}
16
+
"ref": "app.standard-reader.getAuthor#stats",
17
+
"type": "ref"
33
18
},
34
19
"profile": {
35
20
"ref": "app.standard-reader.defs#profileView",
36
21
"type": "ref"
22
+
},
23
+
"publications": {
24
+
"type": "array",
25
+
"items": {
26
+
"ref": "app.standard-reader.defs#publicationView",
27
+
"type": "ref"
28
+
},
29
+
"description": "The author's publications, owned first then featured, newest activity first. A convenience first page; use getAuthorPublications to page through the full set."
37
30
}
38
31
}
39
32
},
40
33
"encoding": "application/json"
41
34
},
42
35
"parameters": {
43
36
"type": "params",
44
37
"required": [
45
38
"did"
46
39
],
47
40
"properties": {
48
41
"did": {
49
42
"type": "string",
50
43
"format": "did"
51
44
}
52
45
}
53
46
},
54
-
"description": "Author profile for a DID with aggregate stats."
47
+
"description": "Author profile for a DID with aggregate stats and a first page of their publications."
48
+
},
49
+
"stats": {
50
+
"type": "object",
51
+
"properties": {
52
+
"likeCount": {
53
+
"type": "integer"
54
+
},
55
+
"documentCount": {
56
+
"type": "integer"
57
+
},
58
+
"followingCount": {
59
+
"type": "integer"
60
+
},
61
+
"subscriberCount": {
62
+
"type": "integer"
63
+
},
64
+
"publicationCount": {
65
+
"type": "integer"
66
+
}
67
+
},
68
+
"description": "Aggregate author counts shown on the profile header."
55
69
}
56
70
},
57
71
"$type": "com.atproto.lexicon.schema",
58
72
"lexicon": 1
59
73
}