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

This API operation cannot get images or videos inserted in the body.

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}/attachments

Path Parameters

ParameterTypeDescription
boardId integer 

Board ID


required
example : 100
format : int64 
postId integer 

Post ID


required
example : 1
format : int64 

Query Parameters

ParameterTypeDescription
count integer 

Number of items in a list


default : 20
minimum : 1
maximum : 20
example : 10
format : int32 
cursor string 

Cursor value for pagination


example : JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA== 

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Response

HTTP 200

OK

PropertyTypeDescription
attachments array (object) 
 
responseMetaData object (responseMetaData) 

Metadata for pagination

 

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 

responseMetaData

PropertyTypeDescription
nextCursor string 

Cursor value for pagination

 

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  "responseMetaData": {11    "nextCursor": "JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA=="12  }13}