- added search data service
This commit is contained in:
parent
9794de71de
commit
7ffc0444d3
|
@ -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
|
||||||
|
);
|
||||||
}
|
}
|
Loading…
Reference in New Issue