GET/groups/{groupId}/note/posts/{postId}/attachments
組織/グループノートの投稿の添付ファイルのリストを取得する。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
group.note
group.note.read
| Parameter | Type | Description |
|---|---|---|
| groupId | string | 組織/グループ ID required example : group127-8545-4463-603b-04d550d23bf |
| postId | integer | 投稿 ID required format : int64 |
| Parameter | Type | Description |
|---|---|---|
| cursor | string | リストのカーソル値 (URL エンコードする) example : sfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA== |
| count | integer | 取得数 default : 20 minimum : 1 maximum : 20 |
| 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 "posts": [3 {4 "attachmentId": "jp1.1.2.1000000000000000001.0.100000000004",5 "fileName": "README.txt",6 "fileSize": 11928,7 "createdTime": "2021-11-03T21:50:00+09:00"8 }9 ],10 "responseMetaData": {11 "nextCursor": "sfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA=="12 }13}