chessgame

RESTful chessgame developed with kotlin

View on GitHub

htwdd.chessgame.server.controller / DrawController / getDrawById

getDrawById

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

Handle the GET request for URI /draws/{id}

Parameters

id - Identifier for a single draw

Author Felix Dimmel

Return Single draw by an id

Since 1.0.0