htwdd.chessgame.server.controller / MatchController / getMatchList
getMatchList
@GetMapping(["application/json", "application/xml"]) fun getMatchList(@RequestParam(false, "includePieceSets", "true") includePieceSets:
Boolean
, @RequestParam(false, "includeHistory", "true") includeHistory:
Boolean
, response: HttpServletResponse): ResponseEntity<
MatchHashMap
>
Handles the GET request for the URI /matches
Parameters
includePieceSets
- Returned match contains the pieceSets
includeHistory
- Returned match contains the history (list of draws)
Author Felix Dimmel
Return Hash map of matches
Since 1.0.0