Skip to content

api_spec

choisungwook edited this page Oct 6, 2021 · 29 revisions

๊ฐœ์š”

  • api ์ŠคํŽ™

ํšŒ์› API

  • todo

๊ฒŒ์‹œํŒ API

๊ฒŒ์‹œํŒ ์กฐํšŒ

  • api: /boards/{board_id}
  • http method: GET
  • ์š”์ฒญ ํ—ค๋”
Content-Type: application/json;charset=UTF-8

๊ฒŒ์‹œํŒ ์ƒ์„ฑ

  • api: /boards
  • http method: POST
  • ์š”์ฒญ ํ—ค๋”
Content-Type: application/json;charset=UTF-8
Authorization: "bearer <ํ† ํฐ>"
  • request_body
{
    "title": "",
}

๊ฒŒ์‹œํŒ ์ˆ˜์ •

  • api: /boards/{board_id}
  • http method: PUT
  • ์š”์ฒญ ํ—ค๋”
Content-Type: application/json;charset=UTF-8
Authorization: "bearer <ํ† ํฐ>"
  • request_body
{
    "title": "",
}

๊ฒŒ์‹œํŒ ์‚ญ์ œ

  • api: /boards/{board_id}
  • http method: DELETE
  • ์š”์ฒญ ํ—ค๋”
Content-Type: application/json;charset=UTF-8
Authorization: "bearer <ํ† ํฐ>"