add moveCard
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

issue #18
This commit is contained in:
Raffaele Mignone 2019-12-30 11:41:28 +01:00
parent 6ca6a3c3d7
commit 5d68cc0201
Signed by: norangebit
GPG Key ID: F5255658CB220573

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
);
}