chessgame

RESTful chessgame developed with kotlin

View on GitHub

htwdd.chessgame.server.controller / MatchController / getPieceSetsByMatchId

getPieceSetsByMatchId

@GetMapping(["application/json", "application/xml"], ["/{id}/pieceSets"]) fun getPieceSetsByMatchId(@PathVariable id: Int, response: HttpServletResponse): ResponseEntity<PieceSetHashMap>

Handles the GET request for the URI /matches/{id}/pieceSets

Parameters

id - Identifier for a single match

Author Felix Dimmel

Return Hash map of pieceSets of the two players

Since 1.0.0