dev.tsunagite.listSongs
Schema Diff
+20 -0
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 2 non-breaking changes.
Breaking Changes (1)
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "dev.tsunagite.listSongs:output", src: "dev.tsunagite.listSongs:output", tgt: "dev.tsunagite.listSongs:output.songs", kind: "prop", name: Some("songs") }
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "dev.tsunagite.listSongs:output.cursor" }
- AddedEdge AddedEdge { src: "dev.tsunagite.listSongs:output", tgt: "dev.tsunagite.listSongs:output.cursor", kind: "prop", name: Some("cursor") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "dev.tsunagite.listSongs:output.cursor" }
Additional Notes
- Breaking: RequiredEdgeAdded { vertex_id: "dev.tsunagite.listSongs:output", src: "dev.tsunagite.listSongs:output", tgt: "dev.tsunagite.listSongs:output.songs", kind: "prop", name: Some("songs") }
- Non-breaking: AddedEdge { src: "dev.tsunagite.listSongs:output", tgt: "dev.tsunagite.listSongs: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 song fetch",
6
6
"output": {
7
7
"encoding": "application/json",
8
8
"schema": {
9
9
"properties": {
10
+
"cursor": {
11
+
"description": "Opaque string - pass back in a future request as the `cursor` value",
12
+
"type": "string"
13
+
},
10
14
"songs": {
11
15
"items": {
12
16
"ref": "dev.tsunagite.song",
13
17
"type": "ref"
14
18
},
15
19
"type": "array"
16
20
}
17
21
},
22
+
"required": [
23
+
"songs"
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 song 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
},
51
+
"required": [
52
+
"game"
53
+
],
34
54
"type": "params"
35
55
},
36
56
"type": "query"
37
57
}
38
58
},
39
59
"id": "dev.tsunagite.listSongs",
40
60
"lexicon": 1
41
61
}