diff --git a/README.md b/README.md index 499b887..cd13e4a 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ difficalcy is an osu! difficulty and performance calculator REST API. 1. Query the API ```sh - curl "localhost:5000/api/calculator/info" + curl "localhost:5000/api/info" ``` ```json @@ -25,7 +25,7 @@ difficalcy is an osu! difficulty and performance calculator REST API. ``` ```sh - curl "localhost:5000/api/calculator/calculation?BeatmapId=658127" + curl "localhost:5000/api/calculation?BeatmapId=658127" ``` ```json diff --git a/docs/docs/api-reference/index.md b/docs/docs/api-reference/index.md index 087831f..b6ecbc3 100644 --- a/docs/docs/api-reference/index.md +++ b/docs/docs/api-reference/index.md @@ -11,12 +11,12 @@ Thus, each calculator has it's own API Reference: In general, each calculator exposes: -| Endpoint | Description | -| ---------------------------------------- | ----------------------------------------------------- | -| `GET /api/calculator/info` | Returns details of the running calculation engine | -| `GET /api/calculator/difficulty` | Calculates difficulty of a beatmap | -| `GET /api/calculator/performance` | Calculates performance of a score | -| `GET /api/calculator/calculation` | Calculates both difficulty and performance of a score | -| `POST /api/calculator/batch/difficulty` | Calculates a batch of difficulties | -| `POST /api/calculator/batch/performance` | Calculates a batch of performances | -| `POST /api/calculator/batch/calculation` | Calculates a batch of difficulties and performances | +| Endpoint | Description | +| ----------------------------- | ----------------------------------------------------- | +| `GET /api/info` | Returns details of the running calculation engine | +| `GET /api/difficulty` | Calculates difficulty of a beatmap | +| `GET /api/performance` | Calculates performance of a score | +| `GET /api/calculation` | Calculates both difficulty and performance of a score | +| `POST /api/batch/difficulty` | Calculates a batch of difficulties | +| `POST /api/batch/performance` | Calculates a batch of performances | +| `POST /api/batch/calculation` | Calculates a batch of difficulties and performances |