package es.craftsmanship.toledo.katangapp.services;

import es.craftsmanship.toledo.katangapp.models.QueryResult;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * @author Javier Gamarra
 */
public interface BusStopsService {

    @GET("main")
    Call<QueryResult> listBusStops(
        @Query("lt") Double latitude, @Query("ln") Double longitude, @Query("r") String radius);
}
@@ -158,16 +158,44 @@
 tp.GET;%0A
+import retrofit2.http.Path;%0A
 import r
@@ -436,9 +436,114 @@
 adius);%0A
+%0A    @GET(%22favorite/%7BbusStopId%7D%22)%0A    Call%3CQueryResult%3E favorites(@Path(%22busStopId%22) String busStopId);%0A%0A
 %7D

Add a new http service call to the favorites endpoint