Skip to content

[PUT] 클럽 소개 입력

DongGeon0908 edited this page Oct 25, 2021 · 2 revisions

URL

METHOD URL ...
PUT /api/club club 상세 입력

Request Header

{
    "Content-Type": "application/json",
    "Authorization": "Bearer "${token}"
}

Request Body

{
	"description" : "<html></html>"
}

Response Success

{
  "status": 200,
  "message": "UPDATE_CLUB_DESCRIPTION_SUCCESS",
  "data": {
    "name": "컴퓨터공학부",
    "image": "dsadsadadasdads",
    "description" : "<html></html>",
    "branch": "PERFORMING_ARTS"
  }
}

Response Fail Because Invalid Exception

{
  "status": 400,
  "message": "INVALID_CLUB_DESCRIPTION"
}

Response Fail Because NonExits Exception

{
  "status": 400,
  "message": "NOT_EXIST_CLUB"
}