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

This API operation gets up to 5 attachments.

Authorization

oauth2

OAuth 2.0 authentication.
For more information, see Authentication and Authorization.

Scope

board
board.read

HTTP Request

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

Path Parameters

ParameterTypeDescription
boardId integer 

Board ID


required
example : 100
format : int64 
postId integer 

Post ID


required
example : 1
format : int64 
commentId integer 

Comment 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 

File ID


required
readOnly : true 
fileName string 

File name


required 
fileSize integer 

File size (in bytes)


required
format : int64 
createdTime string 

Creation time

  • Format: 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}