POST/boards
게시판을 생성한다.
게시판 관리자 권한이 있어야 한다.
맨 마지막 위치에 생성된다.
공개 게시판으로 생성된다.
OAuth 2.0 인증.
자세한 인증 방식은 인가·인증를 참고한다.
board
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Content-Type | string | application/json required example : application/json |
| Property | Type | Description |
|---|---|---|
| boardName | string | 제목 required minLength : 1 maxLength : 60 |
| description | string | 설명 maxLength : 300 |
example
1{2 "boardName": "Notice",3 "description": "Notice Description"4}OK
| Property | Type | Description |
|---|---|---|
| boardId | integer | 게시판 번호 required format : int64 |
| boardName | string | 제목 required |
| description | string | 설명 |
| createdTime | string | 생성 시간
required format : date-time readOnly : true |
| modifiedTime | string | 수정 시간
format : date-time readOnly : true |
| displayOrder | integer | 게시판 순서 required format : int32 readOnly : true |
example
1{2 "boardId": 100,3 "boardName": "Notice",4 "description": "Notice Description",5 "createdTime": "2022-10-28T17:26:35+09:00",6 "modifiedTime": "2022-10-28T17:26:35+09:00",7 "displayOrder": 18}Forbidden