// Path: app/src/main/java/me/zsj/interessant/model/Replies.java
// public class Replies {
// 
//     public List<ReplyList> replyList;
// 
// }


import io.reactivex.Flowable;
import me.zsj.interessant.model.Replies;
import retrofit2.http.GET;
import retrofit2.http.Query;

package me.zsj.interessant.api;


/**
 * @author zsj
 */

public interface ReplyApi {

    @GET("v1/replies/video")
    Flowable<Replies> fetchReplies(@Query("id") int id);

    @GET("v1/replies/video?num=10")

// Path: app/src/main/java/me/zsj/interessant/model/Replies.java
// public class Replies {
// 
//     public List<ReplyList> replyList;
// 
// }


// Path: app/src/main/java/me/zsj/interessant/api/ReplyApi.java
import io.reactivex.Flowable;
import me.zsj.interessant.model.Replies;
import retrofit2.http.GET;
import retrofit2.http.Query;

package me.zsj.interessant.api;


/**
 * @author zsj
 */

public interface ReplyApi {

    @GET("v1/replies/video")
    Flowable<Replies> fetchReplies(@Query("id") int id);

    @GET("v1/replies/video?num=10")

    Flowable<Replies> fetchReplies(@Query("id") int id, @Query("lastId") int lastId);
