Add an API call and a button to reset all results for a round

This commit is contained in:
Claude Brisson
2024-06-13 20:00:52 +02:00
parent 0fd9f6e27a
commit f7d42c399c
5 changed files with 41 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ POST, PUT and DELETE requests return either the 200 HTTP code with `{ "success":
+ /api/tour/#tid/team GET POST Team handling
+ /api/tour/#tid/team/#tid GET PUT DELETE Team handling
+ /api/tour/#tid/pair/#rn GET POST PUT DELETE Pairing
+ /api/tour/#tid/res/#rn GET PUT Results
+ /api/tour/#tid/res/#rn GET PUT DELETE Results
+ /api/tour/#tid/standings GET Standings
+ /api/tour/#tid/stand/#rn GET Standings
@@ -136,6 +136,12 @@ POST, PUT and DELETE requests return either the 200 HTTP code with `{ "success":
*output* `{ "success": true }`
+ `DELETE /api/tour/#tip/res/#rn` Clear all results (put back all results to unknown)
*input* none
*output* `{ "success": true }`
## Standings
+ `GET /api/tour/#tid/stand/#rn` Get standings after round #rn (or initial standings for round '0')