feature_card #4
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user