GET/boards/{boardId}/posts/{postId}/comments/{commentId}
コメントを取得する
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
board
board.read
| Parameter | Type | Description |
|---|---|---|
| boardId | integer | 掲示板 ID required example : 100 format : int64 |
| postId | integer | 投稿 ID required example : 1 format : int64 |
| commentId | integer | コメント ID required example : 1 format : int64 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| boardId | integer | 掲示板 ID required format : int64 readOnly : true |
| postId | integer | 投稿 ID required format : int64 readOnly : true |
| commentId | integer | コメント ID required format : int64 readOnly : true |
| content | string | 内容 required |
| createdTime | string | 登録日時 (YYYY-MM-DDThh:mm:ssTZD) required format : date-time readOnly : true |
| modifiedTime | string | 更新日時 (YYYY-MM-DDThh:mm:ssTZD) format : date-time readOnly : true |
| userId | string | 登録者 ID readOnly : true nullable : true |
| userName | string | 登録者名 required readOnly : true |
| hasReply | boolean | 返信フラグ default : false readOnly : true |
| hasAttachment | boolean | 添付ファイルフラグ default : false readOnly : true |
| isDeleted | boolean | 削除フラグ default : false readOnly : true |
example
1{2 "boardId": 100,3 "postId": 1,4 "commentId": 1,5 "content": "Example content",6 "createdTime": "2022-10-28T17:26:35+09:00",7 "modifiedTime": "2022-10-28T17:26:35+09:00",8 "userId": "userf7da-f82c-4284-13e7-030f3b4c756x",9 "userName": "Susan Nielsen",10 "hasReply": false,11 "hasAttachment": false,12 "isDeleted": false13}