dev.tsunagite.submitScore
Schema Diff
+1 -0
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "Submit a score on a given chart.",
6
6
"errors": [
7
7
{
8
8
"description": "No game matching the given URI was found.",
9
9
"name": "gameNotFound"
10
10
},
11
11
{
12
12
"description": "No song matching the given URI was found.",
13
13
"name": "songNotFound"
14
14
},
15
15
{
16
16
"description": "No chart matching the given URI was found.",
17
17
"name": "chartNotFound"
18
18
},
19
19
{
20
20
"description": "The submitted score is missing components, or its components hold invalid data.",
21
21
"name": "scoreInvalid"
22
22
},
23
23
{
24
24
"description": "The submitted score has already been submitted before.",
25
25
"name": "scoreDuplicate"
26
26
}
27
27
],
28
28
"input": {
29
29
"encoding": "application/json",
30
30
"schema": {
31
31
"ref": "dev.tsunagite.score",
32
32
"type": "ref"
33
33
}
34
34
},
35
35
"output": {
36
+
"encoding": "application/json",
36
37
"properties": {
37
38
"position": {
38
39
"description": "The position in the default leaderboard sort order this score places.",
39
40
"minimum": 1,
40
41
"type": "integer"
41
42
},
42
43
"uri": {
43
44
"description": "The URI of the newly-created score.",
44
45
"type": "string"
45
46
}
46
47
},
47
48
"required": [
48
49
"uri"
49
50
],
50
51
"type": "object"
51
52
},
52
53
"type": "procedure"
53
54
}
54
55
},
55
56
"description": "Definitions related to submitting scores to games hosting leaderboards via Tsunagite.",
56
57
"id": "dev.tsunagite.submitScore",
57
58
"lexicon": 1
58
59
}