package ru.ltst.u2020mvp.data.api;
import retrofit2.adapter.rxjava.Result;
import retrofit2.http.GET;
import retrofit2.http.Path;
import ru.ltst.u2020mvp.data.api.model.request.Section;
import ru.ltst.u2020mvp.data.api.model.request.Sort;
import ru.ltst.u2020mvp.data.api.model.response.Gallery;
import rx.Observable;
public interface GalleryService {
@GET("gallery/{section}/{sort}/{page}")
Observable<Result<Gallery>> listGallery(@Path("section") Section section,
@Path("sort") Sort sort,
@Path("page") int page);
}