Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instead of having one endpoint for strenght/weakness, every theme stats is included and they can be sorted out by the app itself. For now endpoint name is temporary. Example: `GET /training/mobile/dashboard/6` ```json { "days": 6, "global": { "nb": 12, "firstWins": 9, "replayWins": 2, "puzzleRatingAvg": 1292, "performance": 1375 }, "themes": { "xRayAttack": { "theme": "X-Ray attack", "results": { "nb": 6, "firstWins": 5, "replayWins": 2, "puzzleRatingAvg": 1239, "performance": 1239 } }, "mix": { "theme": "Healthy mix", "results": { "nb": 5, "firstWins": 3, "replayWins": 0, "puzzleRatingAvg": 1495, "performance": 1595 } }, "middlegame": { "theme": "Middlegame", "results": { "nb": 4, "firstWins": 4, "replayWins": 1, "puzzleRatingAvg": 1197, "performance": 1447 } } ... } ```
- Loading branch information