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