chessgame

RESTful chessgame developed with kotlin

View on GitHub

htwdd.chessgame.server.controller / PlayerController / updatePlayerWithJson

updatePlayerWithJson

@PatchMapping(["application/json"], ["application/json", "application/xml"], ["/{id}"]) fun updatePlayerWithJson(@PathVariable id: Int, @RequestBody passwordDTO: PasswordDTO, response: HttpServletResponse): ResponseEntity<Unit>

Handles the PATCH request for the URI /players/{id}

Parameters

id - Identifier for a single player

passwordDTO - Contains params as data transfer object

Author Felix Dimmel

See Also

updatePlayer

PasswordDTO

Since 1.0.0