GET/groups/{groupId}/note/posts
Gets a list of posts in a team/group note.
This API operation gets only the posts in a team/group note you are allowed to access.
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 |
| Parameter | Type | Description |
|---|---|---|
| count | integer | Number of items in a list default : 20 minimum : 1 maximum : 40 |
| cursor | string | Cursor value for pagination example : sfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA== |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| posts | array (object) | List of posts |
| responseMetaData | object (responseMetaData) | Metadata for pagination |
| Property | Type | Description |
|---|---|---|
| postId | integer | Post no. format : int64 |
| title | string | Subject required minLength : 1 maxLength : 200 |
| enableCollaboration | boolean | Indicates whether to allow co-editing. |
| readCount | integer | Number of reads format : int64 |
| commentCount | integer | Number of comments format : int64 |
| fileCount | integer | Number of files format : int64 |
| likeCount | integer | Number of likes format : int64 |
| createdTime | string | Creation time required format : date-time readOnly : true |
| modifiedTime | string | Update time format : date-time readOnly : true |
| userId | string | Author ID. readOnly : true nullable : true |
| userName | string | Author name required readOnly : true |
| isNotice | boolean | Indicates whether it is a notice. |
| Property | Type | Description |
|---|---|---|
| nextCursor | string | Cursor value for pagination |
example
1{2 "posts": [3 {4 "postId": 1,5 "title": "How to use LINE WORKS",6 "enableCollaboration": true,7 "readCount": 14,8 "commentCount": 2,9 "fileCount": 0,10 "likeCount": 1,11 "createdTime": "2019-08-24T14:15:22+09:00",12 "modifiedTime": "2019-08-24T14:15:22+09:00",13 "userId": "1bbe7149-0ccd-433d-1eba-04f6901660dc",14 "userName": "Susan Nielsen",15 "isNotice": false16 }17 ],18 "responseMetaData": {19 "nextCursor": "sfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA=="20 }21}