/* Ċ Ġ* ĠCreated Ġby ĠLe o Ġon Ġ 2 0 2 1 . Ġ 1 1 . Ġ 1 3 Ġ.. Ċ Ġ*/ Ċ package Ġcom . m ash up . healthy up . data . api Ċ Ċ import Ġcom . m ash up . healthy up . data . request . Post Exercise History Request Ċ import Ġcom . m ash up . healthy up . data . response . history . Get Exercise History Response Ċ import Ġcom . m ash up . healthy up . data . response . history . Post Exercise History Response Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Header Ċ import Ġretrofit 2 . http . POST Ċ import Ġretrofit 2 . http . Query Ċ Ċ interface ĠExercise History Api Ġ{ ĊĊĠĠĠ Ġ@ POST (" exercise - history ") ĊĠĠĠ Ġsuspend Ġfun Ġpost Exercise History ( ĊĠĠĠĠĠĠĠ Ġrequest : ĠPost Exercise History Request ĊĠĠĠ Ġ): ĠPost Exercise History Response ĊĊĠĠĠ Ġ@ GET (" exercise - history ") ĊĠĠĠ Ġsuspend Ġfun Ġget Exercise History ( ĊĠĠĠĠĠĠĠ Ġ@ Header (" Authorization ") Ġid Token : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" from ") Ġfrom : ĠString ?, Ġ// Ġ 2 0 2 1 - 1 0 - 2 2 Ġ 1 3 : 3 2 ĊĠĠĠĠĠĠĠ Ġ@ Query (" to ") Ġto : ĠString ? Ġ// Ġ 2 0 2 1 - 1 0 - 2 4 Ġ 1 3 : 3 2 ĊĠĠĠ Ġ): ĠGet Exercise History Response ĊĊĠĠĠ Ġ@ GET (" exercise - history / resent ") ĊĠĠĠ Ġsuspend Ġfun Ġget Exercise History Res ent ( ĊĠĠĠĠĠĠĠ Ġ@ Query (" exercise IdList ") Ġexercise IdList : ĠString , Ġ// Ġ 1 , 2 , 3 ... Ġrequired ĊĠĠĠ Ġ): ĠGet Exercise History Response Ċ } Ċ