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
Since 1.0.0