package Ġcom . par ad igma . rick and mort y . data . repository . remote . api Ċ Ċ import Ġcom . par ad igma . rick and mort y . data . repository . remote . api . model . Character Response Ċ import Ġcom . par ad igma . rick and mort y . data . repository . remote . api . model . Location DTO Ċ import Ġretrofit 2 . Response Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Path Ċ import Ġretrofit 2 . http . Query Ċ Ċ interface ĠR icky And M ort y Api Ġ{ ĊĊĠĠĠ Ġ@ GET (" character ") ĊĠĠĠ Ġsuspend Ġfun Ġcharacters (): ĠResponse < Character Response > ĊĊĠĠĠ Ġ@ GET (" character ") ĊĠĠĠ Ġsuspend Ġfun Ġcharacters For Page (@ Query (" page ") Ġpage : ĠInt ): ĠResponse < Character Response > ĊĊĠĠĠ Ġ@ GET (" location /{ location }") ĊĠĠĠ Ġsuspend Ġfun Ġget Location ById (@ Path (" location ") Ġlocation : ĠString ): ĠResponse < Location DTO > Ċ }