掲示板の登録

POST/boards

掲示板を登録する。

Authorization

oauth2

Authorization Code OAuth Flow

Authorization URL - https://auth.worksmobile.com/oauth2/v2.0/authorize
Token URL - https://auth.worksmobile.com/oauth2/v2.0/token
Refresh URL - https://auth.worksmobile.com/oauth2/v2.0/token

Scope

board

HTTP Request

POSThttps://www.worksapis.com/v1.0/boards

Header Parameters

HeadertypeDescription
Authorizationstring

Bearer {token}


required
Content-Typestring

application/json


required
example : application/json

Request Body

PropertyTypeDescription
boardNamestring

掲示板名


required
minLength : 1
maxLength : 60
descriptionstring

掲示板の説明


maxLength : 300

Request Example

example

1{
2  "boardName": "Notice",
3  "description": "Notice Description"
4}

Response

HTTP 201

OK

PropertyTypeDescription
boardIdinteger

掲示板ID


required
format : int64
boardNamestring

掲示板名


required
descriptionstring

掲示板の説明

createdTimestring

登録日時 (YYYY-MM-DDThh:mm:ssTZD)


required
format : date-time
readOnly : true
modifiedTimestring

更新日時 (YYYY-MM-DDThh:mm:ssTZD)


format : date-time
readOnly : true
displayOrderinteger

表示順位


required
format : int32
readOnly : true

Response Example

example

1{
2  "boardId": 100,
3  "boardName": "Notice",
4  "description": "Notice Description",
5  "createdTime": "2019-08-24T14:15:22+09:00",
6  "modifiedTime": "2019-08-24T14:15:22+09:00",
7  "displayOrder": 1
8}

HTTP 403

Forbidden