-
Notifications
You must be signed in to change notification settings - Fork 1
유저 부분수정
Song nari edited this page Mar 24, 2018
·
1 revision
- Method : PATCH
- URL : /users/:id
- Content-Type : application/json; charset=utf-8
필드명 | 타입 | 필수여부 | 설명 |
---|---|---|---|
profileImageId | Int | None | 유저의 프로필 사진 파일 pk |
fullname | String | None | 유저의 이름 |
nTh | Int | None | 유저의 기수 |
dateOfBirth | Datetime | None | 유저의 생일 |
password | String | Required | 유저의 비밀번호 |
password_check | String | Required | 비밀번호 확인 |
department | String | None | 유저의 학과 |
studentNumber | Int | None | 유저의 학번 |
String | None | 유저의 이메일 | |
phoneNumber | Int | None | 유저의 핸드폰 |
favoriteComic | String | None | 유저가 좋아하는 만화제목 |
favoriteCharacter | String | None | 유저가 좋아하는 캐릭터 |
isActivated | Boolean | None | 활동인구 여부 |
http PATCH https://:your-site/users/1/ fullname="샤힌"
http status code | code | message | comment |
---|---|---|---|
201 | 0 | SUCCESS | 정상 응답 |
400 | 0 | FAIL | 비정상 응답 |
401 | 0 | Unathorized | 로그인 필요 |
403 | 0 | Forbidden | 권한 없음 |