add moveCard method #24

Merged
UmbertoF merged 1 commits from hotfix_move_card into develop 2019-12-30 10:51:48 +00:00

View File

@ -71,4 +71,13 @@ public interface CardService {
@PUT("/api/boards/{board}/lists/{list}/cards/{card}")
Call<Card> putCard(@Path("board") String boardID, @Path("list") String listID,
@Path("card") String cardID, @Body Card card);
@FormUrlEncoded
@PUT("/api/boards/{board}/lists/{list}/cards/{card}")
Call<Card> moveCard(
@Path("board") String boardID,
@Path("list") String oldListID,
@Path("card") String cardID,
@Field("listId") String newListId
);
}