diff --git a/app/src/main/java/com/example/citrusclient/rest/BooksRest.java b/app/src/main/java/com/example/citrusclient/rest/BooksRest.java index 420da7f..09d7db5 100644 --- a/app/src/main/java/com/example/citrusclient/rest/BooksRest.java +++ b/app/src/main/java/com/example/citrusclient/rest/BooksRest.java @@ -94,4 +94,16 @@ @Field("color") String color, @Field("token") String token ); + + @PUT("/{account_id}/books/{book_id}/favoriteCount") + Call registerFavoriteCount( + @Path("account_id") String account_id, + @Path("book_id") Integer book_id + ); + + @PUT("/{account_id}/books/{book_id}/favoriteCount") + Call unregisterFavoriteCount( + @Path("account_id") String account_id, + @Path("book_id") Integer book_id + ); }