Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

닉네임 중복 검사 API SPEC #82

Open
jminkkk opened this issue Sep 28, 2023 · 0 comments
Open

닉네임 중복 검사 API SPEC #82

jminkkk opened this issue Sep 28, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@jminkkk
Copy link
Collaborator

jminkkk commented Sep 28, 2023

  • 닉네임를 입력하여 중복 여부를 확인 할 수 있다.

Request

HTTP Method URI
POST /members/check/nickname
{
  "nickname" : "moly",
}

Response

Success

  • Status: 200 OK
  • Header
Name Value Description
content-type application/json  
{
  "success" : true,
  "response" : null,
  "error": null
}

Fail

Status Description
400 BAD_REQUEST 잘못된 요청
500 Internal Server Error unknown server error
  • RequestBody
{
  "nickname" : "중복된닉네임",
}

400 BAD_REQUEST

{
  "success" : false,
  "response" : null,
   "error": {
    "message": "중복된 닉네임 존재합니다.:중복된닉네임",
    "status": 401
  }
}
@jminkkk jminkkk added the documentation Improvements or additions to documentation label Sep 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant