GET/groups/{groupId}/note/posts/{postId}/attachments
This API operation cannot get inline images or videos.
OAuth 2.0 authentication.
For more information, see Authentication and Authorization.
group.note
group.note.read
| Parameter | Type | Description |
|---|---|---|
| groupId | string | Team/group ID required example : group127-8545-4463-603b-04d550d23bf |
| postId | integer | Post ID required format : int64 |
| Parameter | Type | Description |
|---|---|---|
| cursor | string | Cursor value for pagination example : sfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA== |
| count | integer | Number of items in a list default : 20 minimum : 1 maximum : 20 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| attachments | array (object) | List of attachments |
| responseMetaData | object (responseMetaData) | Metadata for pagination |
| Property | Type | Description |
|---|---|---|
| attachmentId | string | File ID required readOnly : true |
| fileName | string | File name required |
| fileSize | integer | File size (in bytes) required format : int64 |
| createdTime | string | Creation date required format : date-time readOnly : true |
| Property | Type | Description |
|---|---|---|
| nextCursor | string | Cursor value for pagination |
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}