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

コメントに添付されたファイルのリストを取得する。

Authorization

oauth2

Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。

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 

登録日時


required
format : date-time
readOnly : true 

Response Example

example

1{2  "attachments": [3    {4      "attachmentId": "jp1.1234.5678.1000000000000000001.0.100000000004",5      "fileName": "ExampleFile.pdf",6      "fileSize": 10240000,7      "createdTime": "2022-10-28T17:26:35+09:00"8    }9  ]10}