app.standard-reader.getAuthor
Schema Diff
+11 -2
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 5 non-breaking changes.
Breaking Changes (1)
- 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") }
Non-Breaking Changes (5)
- AddedVertex AddedVertex { vertex_id: "app.standard-reader.defs#publicationView" }
- 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: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 }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "app.standard-reader.defs#publicationView" }AddedVertex { vertex_id: "app.standard-reader.getAuthor:output.publications" }AddedVertex { vertex_id: "app.standard-reader.getAuthor:output.publications:items" }
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") }
- 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 }
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
16
"ref": "app.standard-reader.getAuthor#stats",
16
17
"type": "ref"
17
18
},
18
19
"profile": {
19
20
"ref": "app.standard-reader.defs#profileView",
20
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."
21
30
}
22
31
}
23
32
},
24
33
"encoding": "application/json"
25
34
},
26
35
"parameters": {
27
36
"type": "params",
28
37
"required": [
29
38
"did"
30
39
],
31
40
"properties": {
32
41
"did": {
33
42
"type": "string",
34
43
"format": "did"
35
44
}
36
45
}
37
46
},
38
-
"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."
39
48
},
40
49
"stats": {
41
50
"type": "object",
42
51
"properties": {
43
52
"likeCount": {
44
53
"type": "integer"
45
54
},
46
55
"documentCount": {
47
56
"type": "integer"
48
57
},
49
58
"followingCount": {
50
59
"type": "integer"
51
60
},
52
61
"subscriberCount": {
53
62
"type": "integer"
54
63
},
55
64
"publicationCount": {
56
65
"type": "integer"
57
66
}
58
67
},
59
68
"description": "Aggregate author counts shown on the profile header."
60
69
}
61
70
},
62
71
"$type": "com.atproto.lexicon.schema",
63
72
"lexicon": 1
64
73
}