Create List - AmFlint/taco-api-go GitHub Wiki

Create a list

URL

http://localhost/boards/{boardId}/lists/

Http Method

POST

Headers

None.

Http Status Codes

  • 400: Bad Request

Query Parameters

  • name: string | required - The title of the task

Request

  • Request with Valid Informations
curl -H "Content-Type: application/json" -X POST -d '{"name":"todo"}' http://localhost/boards/5a9441f747845e001c5e47d3/lists/
  • Response
{
    "listId": "5ae5c4673f149378e52f7e36",
    "name": "to do",
    "order": 0,
    "tasks": []
}