Skip to content

api_spec

HEESEUNG KOO edited this page Oct 7, 2021 · 29 revisions

๊ฐœ์š”

  • api ์ŠคํŽ™

ํšŒ์› API

  • todo

์นดํ…Œ๊ณ ๋ฆฌ API

์นดํ…Œ๊ณ ๋ฆฌ ์กฐํšŒ

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

์นดํ…Œ๊ณ ๋ฆฌ ์ƒ์„ฑ

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

์นดํ…Œ๊ณ ๋ฆฌ ์ˆ˜์ •

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

์นดํ…Œ๊ณ ๋ฆฌ ์‚ญ์ œ

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