feature_card #4

Manually merged
norangebit merged 9 commits from feature_card into develop 2019-11-12 11:38:00 +00:00
Showing only changes of commit 53d3459fc1 - Show all commits

View File

@ -37,7 +37,7 @@ public interface CardService {
* @return the card with matching ID * @return the card with matching ID
*/ */
@POST("/api/boards/{board}/lists/{list}/cards") @POST("/api/boards/{board}/lists/{list}/cards")
Call<Card> newCard(@Body Card card, @Path("board") String boardID, @Path("list") String listID); Call<Card> newCard(@Path("board") String boardID, @Path("list") String listID, @Body Card card);
/** /**
* Get information card * Get information card
@ -69,6 +69,6 @@ public interface CardService {
*/ */
@Headers("Content-Type: application/merge-patch+json") @Headers("Content-Type: application/merge-patch+json")
@PUT("/api/boards/{board}/lists/{list}/cards/{card}") @PUT("/api/boards/{board}/lists/{list}/cards/{card}")
Call<Card> putCard(@Body Card card, @Path("board") String boardID, @Path("list") String listID, Call<Card> putCard(@Path("board") String boardID, @Path("list") String listID,
@Path("card") String cardID); @Path("card") String cardID, @Body Card card);
} }