공연 등록 - GoldenTicketGroup/GoldenTicketServer GitHub Wiki
우선순위 낮음.
관리자용 API
공연 등록(/show)
Request
URL
[POST] ~/theater
Header
메소드 |
파라미터 |
설명 |
Content-Type |
application/json |
|
Body
{
"u_id":"[email protected]", //not_null
"u_pw":"hellohello", //not_null
"u_name" :"8조다", //not_null
}
Response
Body
SUCCESS
{
"status": 200,
"success": true,
"message": "회원가입 성공"
}
FAIL : BODY값 오류
{
"status": 400,
"success": false,
"message": "요청 값이 충분하지 않습니다"
}
FAIL : ID 오류
{
"status": 400,
"success": false,
"message": "해당 ID를 가진 USER가 이미 존재합니다"
}
FAIL : 서버내부오류
{
"status": 500,
"success": false,
"message": "회원가입 실패"
}