release 0.1 #30

Manually merged
noemi3 merged 150 commits from release/0.1 into master 2020-01-18 14:59:02 +00:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit 53d3459fc1 - Show all commits

View File

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