- added search data service

This commit is contained in:
Stefan Schueller 2018-07-01 17:04:50 +02:00
parent 9794de71de
commit 7ffc0444d3

View File

@ -21,4 +21,13 @@ public interface GetVideoDataService {
Call<Video> getVideoData( Call<Video> getVideoData(
@Path(value = "id", encoded = true) String id @Path(value = "id", encoded = true) String id
); );
@GET("videos/search/")
Call<VideoList> searchVideosData(
@Query("start") int start,
@Query("count") int count,
@Query("sort") String sort,
@Query("filter") String filter,
@Query("search") String search
);
} }