package Ġcom . pat ry k ser ek . android _ playground _ template . data . api Ċ Ċ import Ġcom . pat ry k ser ek . android _ playground _ template . data . api . model . Character Api Ċ import Ġcom . pat ry k ser ek . android _ playground _ template . data . api . model . Character Response Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Path Ċ import Ġretrofit 2 . http . Query Ċ Ċ interface ĠR ick And M ort y Service Ġ{ ĊĊĠĠĠ Ġ@ GET (" character ") ĊĠĠĠ Ġsuspend Ġfun Ġget Characters (@ Query (" page ") Ġpage : ĠInt Ġ= Ġ 1 ): ĠCharacter Response ĊĊĠĠĠ Ġ@ GET (" character /{ id }") ĊĠĠĠ Ġsuspend Ġfun Ġget Character ById (@ Path (" id ") Ġvar arg Ġid : ĠInt ): ĠCharacter Api Ċ Ċ } Ċ