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
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
-
"description": "Author profile for a DID with aggregate stats.",
5
+
"description": "Author profile for a DID with aggregate stats and a first page of their publications.",
6
6
"output": {
7
7
"encoding": "application/json",
8
8
"schema": {
9
9
"properties": {
10
10
"profile": {
11
11
"ref": "app.standard-reader.defs#profileView",
12
12
"type": "ref"
13
13
},
14
+
"publications": {
15
+
"description": "The author's publications, owned first then featured, newest activity first. A convenience first page; use getAuthorPublications to page through the full set.",
16
+
"items": {
17
+
"ref": "app.standard-reader.defs#publicationView",
18
+
"type": "ref"
19
+
},
20
+
"type": "array"
21
+
},
14
22
"stats": {
15
23
"ref": "app.standard-reader.getAuthor#stats",
16
24
"type": "ref"
17
25
}
18
26
},
19
27
"required": [
20
28
"profile",
21
-
"stats"
29
+
"stats",
30
+
"publications"
22
31
],
23
32
"type": "object"
24
33
}
25
34
},
26
35
"parameters": {
27
36
"properties": {
28
37
"did": {
29
38
"format": "did",
30
39
"type": "string"
31
40
}
32
41
},
33
42
"required": [
34
43
"did"
35
44
],
36
45
"type": "params"
37
46
},
38
47
"type": "query"
39
48
},
40
49
"stats": {
41
50
"description": "Aggregate author counts shown on the profile header.",
42
51
"properties": {
43
52
"documentCount": {
44
53
"type": "integer"
45
54
},
46
55
"followingCount": {
47
56
"type": "integer"
48
57
},
49
58
"likeCount": {
50
59
"type": "integer"
51
60
},
52
61
"publicationCount": {
53
62
"type": "integer"
54
63
},
55
64
"subscriberCount": {
56
65
"type": "integer"
57
66
}
58
67
},
59
68
"type": "object"
60
69
}
61
70
},
62
71
"id": "app.standard-reader.getAuthor",
63
72
"lexicon": 1
64
73
}