GET/boards/{boardId}/posts/{postId}/attachments
본문에 삽입된 이미지/동영상은 조회할 수 없다.
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 |
| Parameter | Type | Description |
|---|---|---|
| count | integer | 목록 조회 개수 default : 20 minimum : 1 maximum : 20 example : 10 format : int32 |
| cursor | string | 다음 목록 조회 시 사용하는 값 example : JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA== |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| attachments | array (object) | |
| responseMetaData | object (responseMetaData) | 페이징 처리를 위한 메타데이터 |
| 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 |
| Property | Type | Description |
|---|---|---|
| nextCursor | string | 다음 페이지 조회를 위한 커서 |
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 "responseMetaData": {11 "nextCursor": "JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA=="12 }13}