package Ġcom . kon den ko . po cket w aka . data . commits . service Ċ Ċ import Ġcom . kon den ko . po cket w aka . Const Ċ import Ġcom . kon den ko . po cket w aka . data . commits . model . Commits Response Ċ import Ġio . reactivex . Single Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Header Ċ import Ġretrofit 2 . http . Path Ċ import Ġretrofit 2 . http . Query Ċ Ċ private Ġconst Ġval Ġproject PathVariable Ġ= Ġ" project " Ċ Ċ interface ĠCommit s Service Ġ{ ĊĊĠĠĠ Ġ@ GET (" users / current / projects /{ $ project PathVariable }/ commits ") ĊĠĠĠ Ġfun Ġget Commits ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ@ Header ( Const . HEADER _ BE AR ER _ NAME ) Ġtoken HeaderValue : ĠString , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ@ Path ( project PathVariable ) Ġproject : ĠString ? Ġ= Ġnull , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ@ Query (" author ") Ġauthor : ĠString ? Ġ= Ġnull , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ@ Query (" branch ") Ġbranch : ĠString ? Ġ= Ġnull , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ@ Query (" page ") Ġpage : ĠInt ? Ġ= Ġnull ĊĠĠĠ Ġ): ĠSingle < Commits Response > Ċ Ċ }