mirror of
https://github.com/sschueller/peertube-android
synced 2025-03-09 07:47:46 +01:00
- 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…
x
Reference in New Issue
Block a user