์ผ์ ๋ฑ๋ก ์์ฒญ API POST /api/regist { "username":"user", "title":"์ผ์ ์ ๋ชฉ", "contents":"์ผ์ ๋ด์ฉ" }
์๋ตAPI { "username":"user", "title":"์ผ์ ์ ๋ชฉ" "contents":"์ผ์ ๋ด์ฉ" }
์ผ์ ๋จ๊ฑด ์กฐํ API
GET /api/getone { "id":"์ผ์ id ๊ฐ" }
์๋ต API { "username":"user", "title":"์ผ์ ์ ๋ชฉ", "contents":"์ผ์ ๋ด์ฉ", "date":"์์ฑ ๋ ์ง", "fix_date":"์์ ๋ ๋ ์ง" }
์ผ์ ์์ API
PUT /api/modify { "id":"์ผ์ id", "title":"์์ ๋ ์ ๋ชฉ", "contents":"์ผ์ ๋ด์ฉ ์์ " }
์๋ต API { "id":"์ผ์ id", "username":"์์ฑ์ ์ด๋ฆ", "title":"์์ ๋ ์ ๋ชฉ", "contents":"์์ ๋ ๋ด์ฉ", "fix_date":"์์ ๋ ๋ ์ง" }
์ผ์ ํ์ด์ง API { "pagenumber":"ํ์ด์ง๋ฒํธ", "size":"ํ์ด์ง ํฌ๊ธฐ" }
์๋ต API { "username": "๋ฑ๋ก์์ด๋ฆ", "title": "์ผ์ ์ ๋ชฉ", "contents": "์ผ์ ๋ด์ฉ", "date": "2024-08-28T12:02:39.090+00:00", "fix_date": "2024-08-28T12:02:39.090+00:00", "commentcount":"๋๊ธ์" }
์ ์ ๋ฑ๋ก API
POST "/user/regist" { "username":"์ ์ ์ด๋ฆ", "email":"์ด๋ฉ์ผ" }
์ ์ ๋จ๊ฑด ์กฐํ API
GET "/user/get" { "user_id":"์ ์ ์์ด๋" }
์๋ต API { "username": "์ ์ ์ด๋ฆ", "email": "์ ์ ์ด๋ฉ์ผ", "date": "2024-08-28T18:33:35.610+00:00", "fixdate": "2024-08-28T19:07:12.777+00:00" }
์ ์ ์ ์ฒด ์กฐํ API
GET "/user/allget"
์๋ต API { "username": "์ ์ ์ด๋ฆ", "email": "์ ์ ์ด๋ฉ์ผ", "date": "2024-08-28T18:33:35.610+00:00", "fixdate": "2024-08-28T19:07:12.777+00:00" }
์ ์ ์ญ์ API
DELETE "/user/delete" { "user_id":"์ ์ id" }