htwdd.chessgame.server.controller / DrawController / addDrawByAiWithJson
addDrawByAiWithJson
@PostMapping(["application/json"], ["application/json", "application/xml"], ["/ai"]) @ResponseStatus(HttpStatus.CREATED) fun addDrawByAiWithJson(@RequestBody matchIdDTO: MatchIdDTO, response: HttpServletResponse): ResponseEntity<Draw>
Handles the POST request for the URI /draws/ai Params encoded as application/json
Parameters
matchIdDTO - Contains params as data transfer object
Author Felix Dimmel
See Also
Return Created draw from ai server
Since 1.0.0