Difficalcy.Catch v1
CatchCalculator
GET /api/info
Response 200 OK
{
"rulesetName": "string",
"calculatorName": "string",
"calculatorPackage": "string",
"calculatorVersion": "string",
"calculatorUrl": "string"
}
Schema of the response body
{
"type": "object",
"properties": {
"rulesetName": {
"type": "string",
"nullable": true
},
"calculatorName": {
"type": "string",
"nullable": true
},
"calculatorPackage": {
"type": "string",
"nullable": true
},
"calculatorVersion": {
"type": "string",
"nullable": true
},
"calculatorUrl": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
}
GET /api/calculation
Input parameters
Parameter | In | Type | Default | Nullable | Description |
---|---|---|---|---|---|
BeatmapId |
query | string | No | ||
Combo |
query | integer | No | ||
LargeDroplets |
query | integer | No | ||
Misses |
query | integer | No | ||
Mods |
query | integer | No | ||
SmallDroplets |
query | integer | No |
Response 200 OK
{
"difficulty": {
"total": 10.12
},
"performance": {
"total": 10.12
},
"accuracy": 10.12,
"combo": 10.12
}
Schema of the response body
{
"type": "object",
"properties": {
"difficulty": {
"$ref": "#/components/schemas/CatchDifficulty"
},
"performance": {
"$ref": "#/components/schemas/CatchPerformance"
},
"accuracy": {
"type": "number",
"format": "double"
},
"combo": {
"type": "number",
"format": "double"
}
},
"additionalProperties": false
}
POST /api/batch/calculation
Request body
Response 200 OK
Schemas
CalculatorInfo
Name | Type |
---|---|
calculatorName |
string| null |
calculatorPackage |
string| null |
calculatorUrl |
string| null |
calculatorVersion |
string| null |
rulesetName |
string| null |
CatchCalculation
Name | Type |
---|---|
accuracy |
number(double) |
combo |
number(double) |
difficulty |
CatchDifficulty |
performance |
CatchPerformance |
CatchDifficulty
Name | Type |
---|---|
total |
number(double) |
CatchPerformance
Name | Type |
---|---|
total |
number(double) |
CatchScore
Name | Type |
---|---|
beatmapId |
string |
combo |
integer(int32)| null |
largeDroplets |
integer(int32)| null |
misses |
integer(int32) |
mods |
integer(int32) |
smallDroplets |
integer(int32)| null |
Generated from difficalcy-catch OpenAPI schema