Submit a score on a given chart.
Input
Encoding
application/jsonSchemadev.tsunagite.score
Output
Encoding
application/jsonErrors
gameNotFound
No game matching the given URI was found. songNotFound
No song matching the given URI was found. chartNotFound
No chart matching the given URI was found. scoreInvalid
The submitted score is missing components, or its components hold invalid data. scoreDuplicate
The submitted score has already been submitted before. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "procedure",
"input": {
"schema": {
"ref": "dev.tsunagite.score",
"type": "ref"
},
"encoding": "application/json"
},
"errors": [
{
"name": "gameNotFound",
"description": "No game matching the given URI was found."
},
{
"name": "songNotFound",
"description": "No song matching the given URI was found."
},
{
"name": "chartNotFound",
"description": "No chart matching the given URI was found."
},
{
"name": "scoreInvalid",
"description": "The submitted score is missing components, or its components hold invalid data."
},
{
"name": "scoreDuplicate",
"description": "The submitted score has already been submitted before."
}
],
"output": {
"type": "object",
"encoding": "application/json",
"required": [
"uri"
],
"properties": {
"uri": {
"type": "string",
"description": "The URI of the newly-created score."
},
"position": {
"type": "integer",
"minimum": 1,
"description": "The position in the default leaderboard sort order this score places."
}
}
},
"description": "Submit a score on a given chart."
}