package Ġcom . speak out all . api Ċ Ċ import Ġcom . google . gson . JsonObject Ċ import Ġcom . speak out all . auth . UserDetails Ċ import Ġcom . speak out all . auth . User Response Ċ import Ġcom . speak out all . auth . Users Item Ċ import Ġcom . speak out all . notification . Notification Response Ċ import Ġcom . speak out all . posts . Post Mini Details Ċ import Ġcom . speak out all . posts . create . Post Data Ċ import Ġcom . speak out all . posts . create . Posts Response Ċ import Ġcom . speak out all . posts . tags . Tag Ċ import Ġretrofit 2 . Response Ċ import Ġretrofit 2 . http .* Ċ Ċ /** Ċ Ġ* ĠCreated Ġby ĠKal pes h Ġon Ġ 2 9 / 0 7 / 2 0 . Ċ Ġ*/ Ċ interface ĠApi Service Ġ{ ĊĊĠĠĠ Ġ@ GET (" tags ") ĊĠĠĠ Ġsuspend Ġfun Ġget Tags (@ Query (" tag ") Ġtag : ĠString ): ĠResponse < List < Tag >> ĊĊĠĠĠ Ġ@ POST (" tags / create ") ĊĠĠĠ Ġsuspend Ġfun Ġcreate Tag (@ Body Ġtag : ĠTag ): ĠResponse < Tag > ĊĊĠĠĠ Ġ@ POST (" posts / create ") ĊĠĠĠ Ġsuspend Ġfun Ġcreate Post (@ Body Ġpost : ĠPost Data ): ĠResponse < Post Data > ĊĊĠĠĠ Ġ@ GET (" posts / get Profile Posts /{ userId }") ĊĠĠĠ Ġsuspend Ġfun Ġget Profile Posts ( ĊĠĠĠĠĠĠĠ Ġ@ Path (" userId ") ĠuserId : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" key ") Ġkey : ĠLong , ĊĠĠĠĠĠĠĠ Ġ@ Query (" pageSize ") ĠpageSize : ĠInt ĊĠĠĠ Ġ): ĠResponse < Posts Response > ĊĊĠĠĠ Ġ@ GET (" posts / get Feed ") ĊĠĠĠ Ġsuspend Ġfun Ġget Feed ( ĊĠĠĠĠĠĠĠ Ġ@ Query (" key ") Ġkey : ĠLong , ĊĠĠĠĠĠĠĠ Ġ@ Query (" pageSize ") ĠpageSize : ĠInt ĊĠĠĠ Ġ): ĠResponse < Posts Response > ĊĊĠĠĠ Ġ@ POST (" posts / like ") ĊĠĠĠ Ġsuspend Ġfun Ġlike Post (@ Body Ġpost Mini Details : ĠPost Mini Details ): ĠResponse < Post Mini Details > ĊĊĠĠĠ Ġ@ POST (" posts / remove Like ") ĊĠĠĠ Ġsuspend Ġfun Ġun Like Post (@ Body Ġpost Mini Details : ĠPost Mini Details ): ĠResponse < Post Mini Details > ĊĊĠĠĠ Ġ@ DELETE (" posts / delete /{ post Id }") ĊĠĠĠ Ġsuspend Ġfun Ġdelete Post (@ Path (" post Id ") Ġpost Id : ĠString ): ĠResponse < Post Mini Details > ĊĊĠĠĠ Ġ@ POST (" users / create ") ĊĠĠĠ Ġsuspend Ġfun Ġcreate User (@ Body Ġuser Details : ĠUser Details ): ĠResponse < UserDetails > ĊĊĠĠĠ Ġ@ GET (" users / get /{ userId }") ĊĠĠĠ Ġsuspend Ġfun ĠgetUser (@ Path (" userId ") ĠuserId : ĠString ): ĠResponse < UserDetails > ĊĊĠĠĠ Ġ@ GET (" users / check Username /{ username }") ĊĠĠĠ Ġsuspend Ġfun Ġcheck UserName (@ Path (" username ") Ġusername : ĠString ): ĠResponse < JsonObject > ĊĊĠĠĠ Ġ@ POST (" users / update ") ĊĠĠĠ Ġsuspend Ġfun Ġupdate UserDetails (@ Body Ġuser Mini Details : ĠUsers Item ): ĠResponse < UserDetails > ĊĊĠĠĠ Ġ@ POST (" users / follow ") ĊĠĠĠ Ġsuspend Ġfun Ġfollow User (@ Body ĠjsonObject : ĠJsonObject ): ĠResponse < UserDetails > ĊĊĠĠĠ Ġ@ POST (" users / un follow ") ĊĠĠĠ Ġsuspend Ġfun Ġun Follow User (@ Body ĠjsonObject : ĠJsonObject ): ĠResponse < UserDetails > ĊĊĠĠĠ Ġ@ GET (" users / followers /{ userId }") ĊĠĠĠ Ġsuspend Ġfun Ġget Follow ers ( ĊĠĠĠĠĠĠĠ Ġ@ Path (" userId ") ĠuserId : ĠString , Ġ@ Query (" key ") Ġkey : ĠLong , ĊĠĠĠĠĠĠĠ Ġ@ Query (" pageSize ") ĠpageSize : ĠInt ĊĠĠĠ Ġ): ĠResponse < User Response > ĊĊĠĠĠ Ġ@ GET (" users / follow ings /{ userId }") ĊĠĠĠ Ġsuspend Ġfun Ġget Follow ings ( ĊĠĠĠĠĠĠĠ Ġ@ Path (" userId ") ĠuserId : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" key ") Ġkey : ĠLong , ĊĠĠĠĠĠĠĠ Ġ@ Query (" pageSize ") ĠpageSize : ĠInt ĊĠĠĠ Ġ): ĠResponse < User Response > ĊĊĠĠĠ Ġ@ GET (" users / likes /{ post Id }") ĊĠĠĠ Ġsuspend Ġfun Ġget Lik es ( ĊĠĠĠĠĠĠĠ Ġ@ Path (" post Id ") Ġpost Id : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" key ") Ġkey : ĠLong , ĊĠĠĠĠĠĠĠ Ġ@ Query (" pageSize ") ĠpageSize : ĠInt ĊĠĠĠ Ġ): ĠResponse < User Response > ĊĊĠĠĠ Ġ@ GET (" users / search ") ĊĠĠĠ Ġsuspend Ġfun Ġsearch Users (@ Query (" username ") Ġusername : ĠString ): ĠResponse < List < Users Item >> ĊĊĠĠĠ Ġ@ POST (" users / update Token ") ĊĠĠĠ Ġsuspend Ġfun Ġupdate F cm Token (@ Body Ġf cm Token : ĠJsonObject ): ĠResponse < JsonObject > ĊĊĠĠĠ Ġ@ GET (" posts / get Single Post /{ post Id }") ĊĠĠĠ Ġsuspend Ġfun Ġget Single Post (@ Path (" post Id ") Ġpost Id : ĠString ): ĠResponse < Post Data > ĊĊĠĠĠ Ġ@ GET (" notifications / all ") ĊĠĠĠ Ġsuspend Ġfun Ġget Notifications ( ĊĠĠĠĠĠĠĠ Ġ@ Query (" key ") Ġkey : ĠLong , ĊĠĠĠĠĠĠĠ Ġ@ Query (" pageSize ") ĠpageSize : ĠInt ĊĠĠĠ Ġ): ĠResponse < Notification Response > ĊĊĠĠĠ Ġ@ POST (" posts / add Bookmark ") ĊĠĠĠ Ġsuspend Ġfun Ġadd Bookmark (@ Body ĠjsonObject : ĠJsonObject ): ĠResponse < JsonObject > ĊĊĠĠĠ Ġ@ POST (" posts / remove Bookmark ") ĊĠĠĠ Ġsuspend Ġfun Ġremove Bookmark (@ Body ĠjsonObject : ĠJsonObject ): ĠResponse < JsonObject > ĊĊĠĠĠ Ġ@ POST (" users / actions ") ĊĠĠĠ Ġsuspend Ġfun Ġupdate Actions (): ĠResponse < JsonObject > ĊĊĠĠĠ Ġ@ GET (" posts / get Book marked Posts ") ĊĠĠĠ Ġsuspend Ġfun Ġget Book marks ( ĊĠĠĠĠĠĠĠ Ġ@ Query (" key ") Ġkey : ĠLong , ĊĠĠĠĠĠĠĠ Ġ@ Query (" pageSize ") ĠpageSize : ĠInt ĊĠĠĠ Ġ): ĠResponse < Posts Response > ĊĊĠĠĠ Ġ@ GET (" notifications / unread Notifications ") ĊĠĠĠ Ġsuspend Ġfun Ġget Un read Notifications Count (): ĠResponse < JsonObject > Ċ }