package net.darkwire.example.service; import net.darkwire.example.service.catalog.UrlCatalog; import retrofit.http.GET; import net.darkwire.example.model.FiveHundredPxPhotoContainer; import retrofit.http.Query; /** * Created by fsiu on 3/21/14. */ public interface FiveHundredPx { @GET(UrlCatalog.FIVE_HUNDRED_PX_PHOTOS_URI) FiveHundredPxPhotoContainer getPhotos(@Query("page") final long page, @Query("rpp")final int resultsPerPage); @GET(UrlCatalog.FIVE_HUNDRED_PX_PHOTOS_SEARCH_URI) FiveHundredPxPhotoContainer getPhotos(@Query("term")final String term, @Query("tag") final String tag, @Query("page") final long page, @Query("rpp")final int resultsPerPage); }