package Ġcom . wo 1 f . remote . service Ċ Ċ import Ġcom . wo 1 f . domain . model . Comment Request Ċ import Ġcom . wo 1 f . domain . model . Comment Response Ċ import Ġcom . wo 1 f . remote . model . Comment Ċ import Ġcom . wo 1 f . remote . model . Comment And Reply Comments Ċ import Ġcom . wo 1 f . remote . model . Reactor Ċ import Ġretrofit 2 . Response Ċ import Ġretrofit 2 . http . Body Ċ import Ġretrofit 2 . http . DELETE Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . PATCH Ċ import Ġretrofit 2 . http . POST Ċ import Ġretrofit 2 . http . Path Ċ import Ġretrofit 2 . http . Query Ċ Ċ interface ĠComment Service Ġ{ ĊĊĠĠĠ Ġ@ POST ("/ posts /{ post Id }/ comments ") ĊĠĠĠ Ġsuspend Ġfun Ġadd Comment ( ĊĠĠĠĠĠĠĠ Ġ@ Path (" post Id ") Ġpost Id : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Body Ġrequest : ĠComment Request ĊĠĠĠ Ġ): ĠResponse < Comment Response > ĊĊĠĠĠ Ġ@ DELETE ("/ posts /{ post Id }/ comments /{ comment Id }") ĊĠĠĠ Ġsuspend Ġfun Ġdelete Comment ( ĊĠĠĠĠĠĠĠ Ġ@ Path (" post Id ") Ġpost Id : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Path (" comment Id ") Ġcomment Id : ĠString , ĊĠĠĠ Ġ): ĠResponse < Any > ĊĊĠĠĠ Ġ@ GET ("/ posts /{ post Id }/ comments /{ comment Id }") ĊĠĠĠ Ġsuspend Ġfun Ġget Comment ById ( ĊĠĠĠĠĠĠĠ Ġ@ Path (" post Id ") Ġpost Id : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Path (" comment Id ") Ġcomment Id : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" reply Comment ") Ġreply Comment : ĠBoolean Ġ= Ġfalse ĊĠĠĠ Ġ): ĠResponse < Comment > ĊĊĠĠĠ Ġ@ GET ("/ posts /{ post Id }/ comments /{ comment Id }") ĊĠĠĠ Ġsuspend Ġfun Ġget Comment And Reply Comments ( ĊĠĠĠĠĠĠĠ Ġ@ Path (" post Id ") Ġpost Id : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Path (" comment Id ") Ġcomment Id : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" reply Comment ") Ġreply Comment : ĠBoolean Ġ= Ġtrue ĊĠĠĠ Ġ): ĠResponse < Comment And Reply Comments > ĊĊĠĠĠ Ġ@ GET ("/ posts /{ post Id }/ comments ") ĊĠĠĠ Ġsuspend Ġfun Ġget Comments By Post Id ( ĊĠĠĠĠĠĠĠ Ġ@ Path (" post Id ") Ġpost Id : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" cursor ") Ġcursor : ĠString ? ĊĠĠĠ Ġ): ĠResponse < List < Comment >> ĊĊĠĠĠ Ġ@ PATCH ("/ posts /{ post Id }/ comments /{ comment Id }/ lo ves ") ĊĠĠĠ Ġsuspend Ġfun Ġlove Comment ( ĊĠĠĠĠĠĠĠ Ġ@ Path (" post Id ") Ġpost Id : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Path (" comment Id ") Ġcomment Id : ĠString , ĊĠĠĠ Ġ): ĠResponse < Any > ĊĊĠĠĠ Ġ@ PATCH ("/ posts /{ post Id }/ comments /{ comment Id }/ ye ses ") ĊĠĠĠ Ġsuspend Ġfun Ġyes Comment ( ĊĠĠĠĠĠĠĠ Ġ@ Path (" post Id ") Ġpost Id : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Path (" comment Id ") Ġcomment Id : ĠString , ĊĠĠĠ Ġ): ĠResponse < Any > ĊĊĠĠĠ Ġ@ GET ("/ posts /{ post Id }/ comments /{ comment Id }/ reactions ") ĊĠĠĠ Ġsuspend Ġfun Ġget Comment Re actions ( ĊĠĠĠĠĠĠĠ Ġ@ Path (" post Id ") Ġpost Id : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Path (" comment Id ") Ġcomment Id : ĠString , ĊĠĠĠ Ġ): ĠResponse < List < Reactor >> Ċ } Ċ