diff --git a/wrapper/src/main/java/it/unisannio/ding/ids/wedroid/wrapper/api/CardService.java b/wrapper/src/main/java/it/unisannio/ding/ids/wedroid/wrapper/api/CardService.java index c59dabd..22c4c75 100644 --- a/wrapper/src/main/java/it/unisannio/ding/ids/wedroid/wrapper/api/CardService.java +++ b/wrapper/src/main/java/it/unisannio/ding/ids/wedroid/wrapper/api/CardService.java @@ -79,6 +79,15 @@ public interface CardService { Call putCard(@Path("board") String boardID, @Path("list") String listID, @Path("card") String cardID, @Body Card card); + /** + * Move a card from a list to an other + * + * @param boardID The id of the Board + * @param oldListID The id of the source list + * @param cardID The id of the card + * @param newListId The id of the destination list + * @return The card with the matching ID + */ @FormUrlEncoded @PUT("/api/boards/{board}/lists/{list}/cards/{card}") Call moveCard(