package Ġxyz . ji en an . xk cd . base . network ĊĊ Ċ import Ġio . reactivex . Observable Ċ import Ġokhttp 3 . ResponseBody Ċ import Ġretrofit 2 . http .* Ċ import Ġxyz . ji en an . xk cd . model . What If Article Ċ Ċ interface ĠWhat If API Ġ{ ĊĊĠĠĠ Ġ@ get : Headers ("$ HEADER _ CACHE ABLE : Ġ 6 0 0 ") ĊĠĠĠ Ġ@ get : GET (" archive /") ĊĠĠĠ Ġval Ġarchive : ĠObservable < ResponseBody > ĊĊĠĠĠ Ġ@ GET ("{ article _ id }/ ") ĊĠĠĠ Ġfun Ġget Article (@ Path (" article _ id ") Ġid : ĠLong ): ĠObservable < ResponseBody > ĊĊĠĠĠ Ġ@ Form Url Encoded ĊĠĠĠ Ġ@ POST ĊĠĠĠ Ġfun Ġthumb s Up What If (@ Url Ġurl : ĠString , Ġ@ Field (" what _ if _ id ") Ġwhat If Id : ĠInt ): ĠObservable < What If Article > ĊĊĠĠĠ Ġ@ Headers ("$ HEADER _ CACHE ABLE : Ġ 6 0 ") ĊĠĠĠ Ġ@ GET ĊĠĠĠ Ġfun Ġget Top What I fs (@ Url Ġurl : ĠString , Ġ@ Query (" sort by ") Ġsort by : ĠString ): ĠObservable < List < What If Article >> Ċ } Ċ