Creating a personal board API

This will be a POST request sent to /api/boards with the following payload:

{
"name": "<Board name>",
"description": "<Board description>"
"teamId": 0
}

We will use the 0 value for the teamId parameter to indicate that this is a personal board. A successful response to this request will have the status code 201, and the body will be as follows:

{
"id": 12345,
"name": "<Board name>",
"description": "<Board description>"
"teamId": 0
}

Once a board is created, the frontend will redirect the user to the board page, which we will create in the next chapter.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.27.171