Skip to content

Commit

Permalink
Use neoteroi-mkdocs to generate API Reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Syriiin committed Apr 24, 2024
1 parent 29920dd commit 4ee885e
Show file tree
Hide file tree
Showing 11 changed files with 2,070 additions and 726 deletions.
486 changes: 486 additions & 0 deletions docs/docs/api-reference/difficalcy-catch.json

Large diffs are not rendered by default.

176 changes: 1 addition & 175 deletions docs/docs/api-reference/difficalcy-catch.md
Original file line number Diff line number Diff line change
@@ -1,175 +1 @@
# difficalcy-catch

## `GET /api/calculator/info`

### Response

```json
{
"rulesetName": "string",
"calculatorName": "string",
"calculatorPackage": "string",
"calculatorVersion": "string",
"calculatorUrl": "string"
}
```

## `GET /api/calculator/difficulty`

### Query Parameters

| Name | Description | Required | Type |
| ------------ | ----------- | -------- | ------- |
| Accuracy | | No | double |
| Combo | | No | integer |
| Misses | | No | integer |
| TinyDroplets | | No | integer |
| Droplets | | No | integer |
| BeatmapId | | Yes | string |
| Mods | | No | integer |

### Response

```json
{
"total": 0
}
```

## `GET /api/calculator/performance`

### Query Parameters

| Name | Description | Required | Type |
| ------------ | ----------- | -------- | ------- |
| Accuracy | | No | double |
| Combo | | No | integer |
| Misses | | No | integer |
| TinyDroplets | | No | integer |
| Droplets | | No | integer |
| BeatmapId | | Yes | string |
| Mods | | No | integer |

### Response

```json
{
"total": 0
}
```

## `GET /api/calculator/calculation`

### Query Parameters

| Name | Description | Required | Type |
| ------------ | ----------- | -------- | ------- |
| Accuracy | | No | double |
| Combo | | No | integer |
| Misses | | No | integer |
| TinyDroplets | | No | integer |
| Droplets | | No | integer |
| BeatmapId | | Yes | string |
| Mods | | No | integer |

### Response

```json
{
"difficulty": {
"total": 0
},
"performance": {
"total": 0
}
}
```

## `POST /api/calculator/batch/difficulty`

### Body Parameters

```json
[
{
"beatmapId": "string",
"mods": 0,
"accuracy": 0,
"combo": 0,
"misses": 0,
"tinyDroplets": 0,
"droplets": 0
}
]
```

### Response

```json
[
{
"total": 0
}
]
```

## `POST /api/calculator/batch/performance`

### Body Parameters

```json
[
{
"beatmapId": "string",
"mods": 0,
"accuracy": 0,
"combo": 0,
"misses": 0,
"tinyDroplets": 0,
"droplets": 0
}
]
```

### Response

```json
[
{
"total": 0
}
]
```

## `POST /api/calculator/batch/calculation`

### Body Parameters

```json
[
{
"beatmapId": "string",
"mods": 0,
"accuracy": 0,
"combo": 0,
"misses": 0,
"tinyDroplets": 0,
"droplets": 0
}
]
```

### Response

```json
[
{
"difficulty": {
"total": 0
},
"performance": {
"total": 0
}
}
]
```
[OAD(./docs/api-reference/difficalcy-catch.json)]
Loading

0 comments on commit 4ee885e

Please sign in to comment.