chessgame

RESTful chessgame developed with kotlin

View on GitHub

htwdd.chessgame.server.controller / MatchController / getDrawsByMatchId

getDrawsByMatchId

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

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

Parameters

id - Identifier for a single match

Author Felix Dimmel

Return List of draws of a match

Since 1.0.0