Skip to content

[POST] 게시판 생성

DongGeon0908 edited this page Oct 16, 2021 · 2 revisions

URL

METHOD URL ...
POST /api/club/{clubId}/board 게시판 생성

URL

http://3.38.13.2:8080/api/club/1/board

Request Header

{
    "Content-Type": "application/json"
}

Request Body

{
	"name" : "자유게시판",
	"description" : "이것은 자유게시판 입니다!"
}

Response Success When Include Club

{
  "status": 201,
  "message": "CREATE_BOARD_SUCCESS",
  "data": null
}

Response Fail With InvalidArgument

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

Response Fail With Non Exits

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

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

Response Fail With Non Include

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