GET/boards/{boardId}/posts/{postId}/comments/{commentId}/attachments
コメントに添付されたファイルのリストを取得する。
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 |
|---|---|---|
| attachments | array (object) |
| Property | Type | Description |
|---|---|---|
| attachmentId | string | ファイル ID required readOnly : true |
| fileName | string | ファイル名 required |
| fileSize | integer | 添付ファイルのサイズ (単位: bytes) required format : int64 |
| createdTime | string | 登録日時 required format : date-time readOnly : true |
example
1{2 "attachments": [3 {4 "attachmentId": "jp1.1234.5678.1000000000000000001.0.100000000004",5 "fileName": "ExampleFile.pdf",6 "fileSize": 10240000,7 "createdTime": "2022-10-28T17:26:35+09:00"8 }9 ]10}