package Ġbr . com . z up . client . bcb Ċ Ċ import Ġio . mic ronaut . http . HttpResponse Ċ import Ġio . mic ronaut . http . MediaType Ċ import Ġio . mic ronaut . http . annotation . Body Ċ import Ġio . mic ronaut . http . annotation . Delete Ċ import Ġio . mic ronaut . http . annotation . Get Ċ import Ġio . mic ronaut . http . annotation . PathVariable Ċ import Ġio . mic ronaut . http . annotation . Post Ċ import Ġio . mic ronaut . http . client . annotation . Client Ċ Ċ @ Client ("\ ${ bcb . url }") Ċ interface ĠB cb Client Ġ{ ĊĠĠĠ Ġ@ Post ( ĊĠĠĠĠĠĠĠ Ġ"/ api / v 1 / pix / keys ", ĊĠĠĠĠĠĠĠ Ġconsume s Ġ= Ġ[ MediaType . APPLICATION _ XML ], ĊĠĠĠĠĠĠĠ Ġproduces Ġ= Ġ[ MediaType . APPLICATION _ XML ] ĊĠĠĠ Ġ) ĊĠĠĠ Ġfun Ġregist rar (@ Body Ġrequest : ĠCreate Pix Key Request ): ĠHttpResponse < Create Pix Key Response > ĊĊĠĠĠ Ġ@ Delete ( ĊĠĠĠĠĠĠĠ Ġ"/ api / v 1 / pix / keys /{ key }", ĊĠĠĠĠĠĠĠ Ġconsume s Ġ= Ġ[ MediaType . APPLICATION _ XML ], ĊĠĠĠĠĠĠĠ Ġproduces Ġ= Ġ[ MediaType . APPLICATION _ XML ] ĊĠĠĠ Ġ) ĊĠĠĠ Ġfun Ġremo ver (@ PathVariable Ġkey : ĠString , Ġ@ Body Ġrequest : ĠDelete Pix Key Request ): ĠHttpResponse < Delete Pix Key Response > ĊĊĠĠĠ Ġ@ Get ( ĊĠĠĠĠĠĠĠ Ġ"/ api / v 1 / pix / keys /{ key }", ĊĠĠĠĠĠĠĠ Ġconsume s Ġ= Ġ[ MediaType . APPLICATION _ XML ], ĊĠĠĠĠĠĠĠ Ġproduces Ġ= Ġ[ MediaType . APPLICATION _ XML ] ĊĠĠĠ Ġ) ĊĠĠĠ Ġfun Ġconsult ar (@ PathVariable Ġkey : ĠString ): ĠHttpResponse < Pix Key Details Response > Ċ } ĊĊ