๋ก๊ทธ์ธ์ ์ ์ธํ ๋ชจ๋ ์ธ์ฆ์ session ์ ๋ณด ํ์
URL |
Method |
Description |
/ |
post |
ํ์๊ฐ์
|
/dup-email |
post |
email ์ค๋ณตํ์ธ |
/find-id |
post |
ID ์ฐพ๊ธฐ |
/find-pw |
post |
PW ์ฐพ๊ธฐ |
/secret-key |
get |
SecretKey ์์ฒญ |
/secret-key |
put |
SecretKey ์ฌ๋ฐ๊ธ ์์ฒญ |
/email |
get |
email ์ธ์ฆ ์์ฒญ URL ๋ฐ์ก |
/confirm-email |
get |
email ์ธ์ฆ ์์ฒญ URL ํ์ธ |
-
์์ธ ์ ๋ณด
{
"name": "name",
"email": "email",
"birth": "birth",
"phone": "phone",
"id": "id",
"password": "password"
}
{
"result": true,
"QRCode": "QRCode base32 Data" OR "SecretKey"
}
-
์์ธ ์ ๋ณด
{
"id": "id" OR "email": "email"
}
{
"result": true(์ค๋ณต๋๋ ๊ฐ์ด ์๋ค๋ฉด) OR false(์ค๋ณต๋๋ ๊ฐ์ด ์๋ค๋ฉด)
}
-
์์ธ ์ ๋ณด
- req
- ์ด๋ฉ์ผ ํ๋ผ๋ฏธํฐ ์ ๋ฌ ํ์
- res
{
"result": true(์ฑ๊ณต์) OR false(๋ง๋ฃ์ 400 error)
}
URL |
Method |
Description |
/ |
post |
๋ก๊ทธ์ธ |
/dup-id |
post |
id ์ค๋ณตํ์ธ |
URL |
Method |
Description |
/ |
get |
๊ฐ์ธ์ ๋ณด ๋ฆฌ์คํธ ์กฐํ |
/ |
patch |
๊ฐ์ธ์ ๋ณด ์์ |
/logs |
get |
๋ก๊ทธ ๋ฆฌ์คํธ ์กฐํ |
/session |
delete |
์ ์ ๋ฌด๋ ฅํ |