-
Notifications
You must be signed in to change notification settings - Fork 0
API 유저 서비스
brightchul edited this page May 20, 2022
·
1 revision
회원을 관리하는 기능을 제공하는 서버
유저를 생성하는 API
name | type | Description | Default |
---|---|---|---|
String | 유저 이메일 | ||
password | String | 패스워드 | |
nickName | String | 유저 닉네임 |
{
"status": "ok",
"message": "유저 생성 성공"
}
유저 로그인 하는 API
name | type | Description | Default |
---|---|---|---|
String | 유저 이메일 | ||
password | String | 패스워드 |
{
"status": "ok",
"message": "유저 로그인 성공",
"accessToken": "",
"refreshToken": "",
"userInfo": {
"id": 1,
"email": "[email protected]",
"nickName": "test1",
"imagePath": "https://..."
}
}
유저 정보를 수정하는 API
name | type | Description | Default |
---|---|---|---|
String | 유저 이메일 | ||
password | String | 패스워드 | |
nickName | String | 유저 닉네임 | |
file | File | 유저 프로필 이미지 |
{
"status": "ok",
"message": "유저 변경 성공"
}
가입하려는 유저의 이메일에 대한 인증 요청하는 API
{
"status": "ok",
"message": "유저 인증 메일 발송 성공"
}
가입하려는 유저의 이메일에 대한 인증 결과를 확인하는 API
{
"status": "ok",
"message": "유저 생성 성공"
}