package Ġcom . illi arb . t mdb client . services . t mdb . internal . network . api Ċ Ċ import Ġcom . illi arb . t mdb client . libs . util . Result Ċ import Ġcom . illi arb . t mdb client . services . t mdb . domain . Video Ċ import Ġcom . illi arb . t mdb client . services . t mdb . internal . dto . Movie Dto Ċ import Ġcom . illi arb . t mdb client . services . t mdb . internal . dto . Results Dto Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Path Ċ import Ġretrofit 2 . http . Query Ċ Ċ internal Ġinterface ĠMovie Api Ġ{ ĊĊĠ Ġ@ GET (" movie /{ type }") ĊĠ Ġsuspend Ġfun Ġget Movies ByType (@ Path (" type ") Ġtype : ĠString ): ĠResult < Results Dto < Movie Dto >> ĊĊĠ Ġ@ GET (" movie /{ id }") ĊĠ Ġsuspend Ġfun Ġget Movie Details ( ĊĠĠĠ Ġ@ Path (" id ") Ġid : ĠInt , ĊĠĠĠ Ġ@ Query (" append _ to _ response ") Ġappend To Response : ĠString ĊĠ Ġ): ĠResult < Movie Dto > ĊĊĠ Ġ@ GET (" movie /{ id }/ similar ") ĊĠ Ġsuspend Ġfun Ġget Similar Movies (@ Path (" id ") Ġid : ĠInt ): ĠResult < Results Dto < Movie Dto >> ĊĊĠ Ġ@ GET (" movie /{ id }/ videos ") ĊĠ Ġsuspend Ġfun Ġget Movie Videos (@ Path (" id ") Ġid : ĠInt ): ĠResult < Results Dto < Video >> ĊĊĠ Ġ@ GET (" search / movie ") ĊĠ Ġsuspend Ġfun Ġsearch Movies (@ Query (" query ") Ġquery : ĠString ) Ġ: ĠResult < Results Dto < Movie Dto >> Ċ }