-
Notifications
You must be signed in to change notification settings - Fork 3
api_spec
choisungwook edited this page Oct 8, 2021
·
29 revisions
- api ์คํ
- api: /users
- http method: GET
- ์์ฒญ ํค๋
Content-Type: application/json;charset=UTF-8
- api: /signup
- http method: POST
- ์์ฒญ ํค๋
Content-Type: application/json;charset=UTF-8
- request_body
{
"email": "[email protected]",
"password": "password",
"nickname": "testuser"
}
- ์ฑ๊ณต ์๋ต
{
"id": "1" # ์์ฑ id
}
- 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 <ํ ํฐ>"
- api: /board
- http method: GET
- ์์ฒญ ํค๋
Content-Type: application/json;charset=UTF-8
- api: /board/{account_id}
- http method: GET
- ์์ฒญ ํค๋
Content-Type: application/json;charset=UTF-8
- api: /board/{board_id}
- http method: GET
- ์์ฒญ ํค๋
Content-Type: application/json;charset=UTF-8
- api: /board
- http method: POST
- ์์ฒญ ํค๋
Content-Type: application/json;charset=UTF-8
Authorization: "bearer <ํ ํฐ>"
- request_body
{
"content": "",
"account": {}
}
- api: /board/{board_id}
- http method: PUT
- ์์ฒญ ํค๋
Content-Type: application/json;charset=UTF-8
Authorization: "bearer <ํ ํฐ>"
- request_body
{
"content": "",
}
- api: /board/{board_id}
- http method: DELETE
- ์์ฒญ ํค๋
Content-Type: application/json;charset=UTF-8
Authorization: "bearer <ํ ํฐ>"