GET/boards/{boardId}/posts/{postId}/comments/{commentId}/attachments
최대 5개의 첨부 파일이 조회된다.
OAuth 2.0 인증.
자세한 인증 방식은 인가·인증를 참고한다.
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": "kr1.1234.5678.1000000000000000001.0.100000000004",5 "fileName": "ExampleFile.pdf",6 "fileSize": 10240000,7 "createdTime": "2022-10-28T17:26:35+09:00"8 }9 ]10}