aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/pina/HolodexService.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/pina/HolodexService.java')
-rw-r--r--src/main/java/com/pina/HolodexService.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/com/pina/HolodexService.java b/src/main/java/com/pina/HolodexService.java
index 40a402c..dcbb2c8 100644
--- a/src/main/java/com/pina/HolodexService.java
+++ b/src/main/java/com/pina/HolodexService.java
@@ -64,20 +64,20 @@ public interface HolodexService {
@Query("paginated") String paginated
);
- @GET("/api/v2/channels/users/live")
+ @GET("/api/v2/users/live")
Call<List<Video>> getVideosFromChannels(
- @Query("channels") String[] channels
+ @Query("channels") String channels
);
@GET("/api/v2/videos/{videoID}")
- Call<List<Video>> getVideo(
+ Call<Video> getVideo(
@Path("videoID") String videoID,
@Query("lang") String lang,
@Query("c") String c
);
@GET("/api/v2/channels")
- Call<List<Video>> getChannels(
+ Call<List<Channel>> getChannels(
@Query("limit") Integer limit,
@Query("offset") Integer offset,
@Query("type") String type,
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage