dev.tsunagite.listGames
Schema Diff
+17 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
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
- Non-breaking: AddedEdge { src: "dev.tsunagite.listGames:output", tgt: "dev.tsunagite.listGames:output.cursor", kind: "prop", name: Some("cursor") }
1
1
{
2
2
"id": "dev.tsunagite.listGames",
3
3
"defs": {
4
4
"main": {
5
5
"type": "query",
6
6
"output": {
7
7
"schema": {
8
8
"type": "object",
9
+
"required": [
10
+
"games"
11
+
],
9
12
"properties": {
10
13
"games": {
11
14
"type": "array",
12
15
"items": {
13
16
"ref": "dev.tsunagite.game",
14
17
"type": "ref"
15
18
}
19
+
},
20
+
"cursor": {
21
+
"type": "string",
22
+
"description": "Opaque string - pass back in a future request as the `cursor` value"
16
23
}
17
24
}
18
25
},
19
26
"encoding": "application/json"
20
27
},
21
28
"parameters": {
22
29
"type": "params",
23
30
"properties": {
31
+
"limit": {
32
+
"type": "integer",
33
+
"default": 20,
34
+
"maximum": 100,
35
+
"description": "How many records to return."
36
+
},
37
+
"cursor": {
38
+
"type": "string",
39
+
"description": "Opaque string - receive from a previous request as the `cursor` value"
40
+
},
24
41
"player": {
25
42
"type": "string",
26
43
"format": "at-identifier",
27
44
"description": "The handle or DID of the player to search for profile records on. Will only return games the player has a profile for."
28
45
}
29
46
}
30
47
},
31
48
"description": "Batch game fetch"
32
49
}
33
50
},
34
51
"$type": "com.atproto.lexicon.schema",
35
52
"lexicon": 1
36
53
}