Http Status | 내용 | code | message |
---|---|---|---|
200 | 성공 | "SU" | "Success." |
400 | 유효성 검증 실패 | "VF" | "Validation failed." |
400 | 중복된 이메일 | "DE" | "Duplicate email." |
400 | 중복된 닉네임 | "DN" | "Duplicate nickname." |
400 | 중복된 전화번호 | "DT" | "Duplicate telephone number." |
400 | 존재하지 않는 유저 | "NU" | "This user does not exist." |
400 | 존재하지 않는 게시물 | "NB" | "This board does not exist." |
401 | 로그인 실패 | "SF" | "Login information mismatch." |
401 | 인증 실패 | "AF" | "Authorization Failed." |
403 | 권한 없음 | "NP" | "Do not have permission." |
500 | 데이터베이스 오류 | "DBE" | "Database error." |
POST /api/v1/auth/sign-in
Name | Type | Required | Description |
---|---|---|---|
string / String | * | 이메일 | |
password | string / String | * | 패스워드 |
Example
{
"email": "[email protected]",
"password": "P!ssw0rd"
}