dev.tsunagite.listCharts
Schema Diff
+30 -4
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 6 non-breaking changes.
Breaking Changes (1)
- KindChanged KindChanged { vertex_id: "dev.tsunagite.listCharts:output", old_kind: "array", new_kind: "object" }
Non-Breaking Changes (6)
- AddedVertex AddedVertex { vertex_id: "dev.tsunagite.listCharts:output.charts" }
- AddedVertex AddedVertex { vertex_id: "dev.tsunagite.listCharts:output.charts:items" }
- AddedVertex AddedVertex { vertex_id: "dev.tsunagite.listCharts:output.cursor" }
- AddedEdge AddedEdge { src: "dev.tsunagite.listCharts:output", tgt: "dev.tsunagite.listCharts:output.charts", kind: "prop", name: Some("charts") }
- AddedEdge AddedEdge { src: "dev.tsunagite.listCharts:output", tgt: "dev.tsunagite.listCharts:output.cursor", kind: "prop", name: Some("cursor") }
- AddedEdge AddedEdge { src: "dev.tsunagite.listCharts:output.charts", tgt: "dev.tsunagite.listCharts:output.charts:items", kind: "items", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "dev.tsunagite.listCharts:output.charts" }AddedVertex { vertex_id: "dev.tsunagite.listCharts:output.charts:items" }AddedVertex { vertex_id: "dev.tsunagite.listCharts:output.cursor" }
Additional Notes
- Breaking: KindChanged { vertex_id: "dev.tsunagite.listCharts:output", old_kind: "array", new_kind: "object" }
- Non-breaking: AddedEdge { src: "dev.tsunagite.listCharts:output", tgt: "dev.tsunagite.listCharts:output.charts", kind: "prop", name: Some("charts") }
- Non-breaking: AddedEdge { src: "dev.tsunagite.listCharts:output", tgt: "dev.tsunagite.listCharts:output.cursor", kind: "prop", name: Some("cursor") }
- Non-breaking: AddedEdge { src: "dev.tsunagite.listCharts:output.charts", tgt: "dev.tsunagite.listCharts:output.charts:items", kind: "items", name: None }
1
1
{
2
2
"id": "dev.tsunagite.listCharts",
3
3
"defs": {
4
4
"main": {
5
5
"type": "query",
6
6
"output": {
7
7
"schema": {
8
-
"type": "array",
9
-
"items": {
10
-
"ref": "dev.tsunagite.chart",
11
-
"type": "ref"
8
+
"type": "object",
9
+
"required": [
10
+
"charts"
11
+
],
12
+
"properties": {
13
+
"charts": {
14
+
"type": "array",
15
+
"items": {
16
+
"ref": "dev.tsunagite.chart",
17
+
"type": "ref"
18
+
}
19
+
},
20
+
"cursor": {
21
+
"type": "string",
22
+
"description": "Opaque string - pass back in a future request as the `cursor` value"
23
+
}
12
24
}
13
25
},
14
26
"encoding": "application/json"
15
27
},
16
28
"parameters": {
17
29
"type": "params",
30
+
"required": [
31
+
"game",
32
+
"song"
33
+
],
18
34
"properties": {
19
35
"game": {
20
36
"type": "string",
21
37
"format": "at-uri",
22
38
"description": "The game to find chart records for."
23
39
},
24
40
"song": {
25
41
"type": "string",
26
42
"format": "at-uri",
27
43
"description": "The song to find chart records for."
28
44
},
45
+
"limit": {
46
+
"type": "integer",
47
+
"default": 20,
48
+
"maximum": 100,
49
+
"description": "How many records to return."
50
+
},
29
51
"owner": {
30
52
"type": "string",
31
53
"format": "at-identifier",
32
54
"description": "The handle or DID of the account to filter results to."
55
+
},
56
+
"cursor": {
57
+
"type": "string",
58
+
"description": "Opaque string - receive from a previous request as the `cursor` value"
33
59
}
34
60
}
35
61
},
36
62
"description": "Batch chart fetch"
37
63
}
38
64
},
39
65
"$type": "com.atproto.lexicon.schema",
40
66
"lexicon": 1
41
67
}