package Ġcom . github . async mc . moj ang . api . kotlin . spring . api Ċ Ċ import Ġcom . github . async mc . moj ang . api . kotlin . spring . model . Error Ċ import Ġcom . github . async mc . moj ang . api . kotlin . spring . model . Skin Model Ċ import Ġorg . springframework . http . HttpStatus Ċ import Ġorg . springframework . http . MediaType Ċ import Ġorg . springframework . http . Response Entity Ċ import Ġorg . springframework . stereotype . Controller Ċ import Ġorg . springframework . web . bind . annotation . RequestBody Ċ import Ġorg . springframework . web . bind . annotation . Request Part Ċ import Ġorg . springframework . web . bind . annotation . RequestParam Ċ import Ġorg . springframework . web . bind . annotation . PathVariable Ċ import Ġorg . springframework . web . bind . annotation . Request Header Ċ import Ġorg . springframework . web . bind . annotation . Request Method Ċ import Ġorg . springframework . web . bind . annotation . RequestMapping Ċ import Ġorg . springframework . validation . annotation . Validated Ċ import Ġorg . springframework . web . context . request . Native WebRequest Ċ import Ġorg . springframework . web . multipart . Multipart File Ċ import Ġorg . springframework . beans . factory . annotation . Autowired Ċ Ċ import Ġjavax . validation . Valid Ċ import Ġjavax . validation . constraints .* Ċ Ċ import Ġkotlin . collections . List Ċ import Ġkotlin . collections . Map Ċ Ċ @ Controller Ċ @ Validated Ċ @ RequestMapping ("\ ${ api . base - path : }") Ċ class ĠSk in Operations Api Controller () Ġ{ ĊĊĊĠĠĠ Ġ@ RequestMapping ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġvalue Ġ= Ġ["/ user / profile /{ stri pped _ uuid }/ skin "], ĊĠĠĠĠĠĠĠĠĠĠĠ Ġproduces Ġ= Ġ[" application / json "], ĠĊĠĠĠĠĠĠĠĠĠĠĠ Ġconsume s Ġ= Ġ[" application / x - www - form - urlencoded "], ĊĠĠĠĠĠĠĠĠĠĠĠ Ġmethod Ġ= Ġ[ Request Method . POST ]) ĊĠĠĠ Ġfun Ġchange Player Skin ( Ġ@ PathVariable (" stri pped _ uuid ") Ġstripped Uuid : ĠString , Ġ@ RequestParam ( value =" url ", Ġrequired = true ) Ġurl : ĠString Ġ, Ġ@ RequestParam ( value =" model ", Ġrequired = false ) Ġmodel : ĠSk in Model Ġ): ĠResponseEntity < Unit > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠResponseEntity ( HttpStatus . NOT _ IMPLEMENTED ) ĊĠĠĠ Ġ} ĊĊĊĠĠĠ Ġ@ RequestMapping ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġvalue Ġ= Ġ["/ user / profile /{ stri pped _ uuid }/ skin "], ĊĠĠĠĠĠĠĠĠĠĠĠ Ġproduces Ġ= Ġ[" application / json "], ĠĊĠĠĠĠĠĠĠĠĠĠĠ Ġmethod Ġ= Ġ[ Request Method . DELETE ]) ĊĠĠĠ Ġfun Ġreset Player Skin ( Ġ@ PathVariable (" stri pped _ uuid ") Ġstripped Uuid : ĠString ): ĠResponseEntity < Unit > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠResponseEntity ( HttpStatus . NOT _ IMPLEMENTED ) ĊĠĠĠ Ġ} ĊĊĊĠĠĠ Ġ@ RequestMapping ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġvalue Ġ= Ġ["/ user / profile /{ stri pped _ uuid }/ skin "], ĊĠĠĠĠĠĠĠĠĠĠĠ Ġproduces Ġ= Ġ[" application / json "], ĠĊĠĠĠĠĠĠĠĠĠĠĠ Ġconsume s Ġ= Ġ[" multipart / form - data "], ĊĠĠĠĠĠĠĠĠĠĠĠ Ġmethod Ġ= Ġ[ Request Method . PUT ]) ĊĠĠĠ Ġfun Ġupload Player Skin ( Ġ@ PathVariable (" stri pped _ uuid ") Ġstripped Uuid : ĠString , Ġ@ Valid Ġ@ Request Part (" file ") Ġfile : ĠMultip art File , Ġ@ RequestParam ( value =" model ", Ġrequired = false ) Ġmodel : ĠSk in Model Ġ): ĠResponseEntity < Unit > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠResponseEntity ( HttpStatus . NOT _ IMPLEMENTED ) ĊĠĠĠ Ġ} Ċ } Ċ