package Ġpl . tem om uk o . aut ost op race . data . remote Ċ Ċ import Ġokhttp 3 . Multipart Body Ċ import Ġpl . tem om uk o . aut ost op race . data . remote . model .* Ċ import Ġretrofit 2 . Response Ċ import Ġretrofit 2 . http .* Ċ import Ġrx . Comp letable Ċ import Ġrx . Single Ċ Ċ interface ĠAs r Service Ġ{ ĊĊĠĠĠ Ġ@ GET (" teams ") ĊĠĠĠ Ġfun ĠgetAll Teams (): ĠSingle < List < Team Entity >> ĊĊĠĠĠ Ġ@ GET (" teams /{ team Number }/ locations ") ĊĠĠĠ Ġfun Ġget Team Locations (@ Path (" team Number ") Ġteam Number : ĠLong ): ĠSingle < List < Location Entity >> ĊĊĠĠĠ Ġ@ GET (" user / team / locations ") ĊĠĠĠ Ġfun ĠgetUser Team Locations (): ĠSingle < List < Location Entity >> ĊĊĠĠĠ Ġ@ GET (" user ") ĊĠĠĠ Ġfun Ġauthorize (@ Header (" Authorization ") Ġbase 6 4 HeaderValue : ĠString ): ĠSingle < Response < User Entity >> ĊĊĠĠĠ Ġ@ GET (" user ") ĊĠĠĠ Ġfun Ġvalidate Token (): ĠSingle < User Entity > ĊĊĠĠĠ Ġ@ Multipart ĊĠĠĠ Ġ@ POST (" locations ") ĊĠĠĠ Ġfun Ġadd Location ( ĊĠĠĠĠĠĠĠ Ġ@ Part (" location Data ") Ġlocation Request : ĠCreate Location Request , ĊĠĠĠĠĠĠĠ Ġ@ Part Ġimage : ĠMultip art Body . Part ? ĊĠĠĠ Ġ): ĠSingle < Location Entity > ĊĊĠĠĠ Ġ@ POST (" logout ") ĊĠĠĠ Ġfun Ġlogout (): ĠComp letable ĊĊĠĠĠ Ġ@ GET (" race info / images ") ĊĠĠĠ Ġfun Ġget Race Info Images (): ĠSingle < Race Info Images Entity > ĊĊĠĠĠ Ġ@ GET (" race info / compet itions ") ĊĠĠĠ Ġfun Ġget Comp et itions (): ĠSingle < List < Comp etition Entity >> Ċ } Ċ