修正
1 parent 9c573e9 commit 8bbc54c0c101ecfc21cd4ad9c2c824cd7e5d4e2f
g-shimokawa authored on 22 Oct
Showing 1 changed file
View
4
app/src/main/java/com/example/citrusclient/rest/BooksRest.java
@Field("color") String color,
@Field("token") String token
);
 
@PUT("/{account_id}/books/{book_id}/favoriteCount")
@PUT("/{account_id}/books/{book_id}/registerFavoriteCount")
Call<String> registerFavoriteCount(
@Path("account_id") String account_id,
@Path("book_id") Integer book_id
);
 
@PUT("/{account_id}/books/{book_id}/favoriteCount")
@PUT("/{account_id}/books/{book_id}/unregisterFavoriteCount")
Call<String> unregisterFavoriteCount(
@Path("account_id") String account_id,
@Path("book_id") Integer book_id
);