dev.tsunagite.listGames
Schema Diff
+17 -0
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 2 non-breaking changes.
Breaking Changes (1)
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "dev.tsunagite.listGames:output", src: "dev.tsunagite.listGames:output", tgt: "dev.tsunagite.listGames:output.games", kind: "prop", name: Some("games") }
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "dev.tsunagite.listGames:output.cursor" }
- AddedEdge AddedEdge { src: "dev.tsunagite.listGames:output", tgt: "dev.tsunagite.listGames:output.cursor", kind: "prop", name: Some("cursor") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "dev.tsunagite.listGames:output.cursor" }
Additional Notes
- Breaking: RequiredEdgeAdded { vertex_id: "dev.tsunagite.listGames:output", src: "dev.tsunagite.listGames:output", tgt: "dev.tsunagite.listGames:output.games", kind: "prop", name: Some("games") }
- Non-breaking: AddedEdge { src: "dev.tsunagite.listGames:output", tgt: "dev.tsunagite.listGames: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 game 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
"games": {
11
15
"items": {
12
16
"ref": "dev.tsunagite.game",
13
17
"type": "ref"
14
18
},
15
19
"type": "array"
16
20
}
17
21
},
22
+
"required": [
23
+
"games"
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
+
},
34
+
"limit": {
35
+
"default": 20,
36
+
"description": "How many records to return.",
37
+
"maximum": 100,
38
+
"type": "integer"
39
+
},
23
40
"player": {
24
41
"description": "The handle or DID of the player to search for profile records on. Will only return games the player has a profile for.",
25
42
"format": "at-identifier",
26
43
"type": "string"
27
44
}
28
45
},
29
46
"type": "params"
30
47
},
31
48
"type": "query"
32
49
}
33
50
},
34
51
"id": "dev.tsunagite.listGames",
35
52
"lexicon": 1
36
53
}