GET/boards/{boardId}/posts/{postId}/comments/{commentId}/attachments

최대 5개의 첨부 파일이 조회된다.

Authorization

oauth2

OAuth 2.0 인증.
자세한 인증 방식은 인가·인증를 참고한다.

Scope

board
board.read

HTTP Request

GEThttps://www.worksapis.com/v1.0/boards/{boardId}/posts/{postId}/comments/{commentId}/attachments

Path Parameters

ParameterTypeDescription
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 Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Response

HTTP 200

OK

PropertyTypeDescription
attachments array (object) 
 

object

PropertyTypeDescription
attachmentId string 

파일 ID


required
readOnly : true 
fileName string 

파일 이름


required 
fileSize integer 

파일 크기(단위: bytes)


required
format : int64 
createdTime string 

생성 시간

  • 날짜 및 시간, 분, 초 형식(YYYY-MM-DDThh:mm:ssTZD)

required
format : date-time
readOnly : true 

Response Example

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}