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.

Authorization

oauth2

OAuth 2.0 authentication.
For more information, see Authentication and Authorization.

Scope

group.note
group.note.read

HTTP Request

GEThttps://www.worksapis.com/v1.0/groups/{groupId}/note/posts

Path Parameters

ParameterTypeDescription
groupId string 

Team/group ID


required
example : group127-8545-4463-603b-04d550d23bf 

Query Parameters

ParameterTypeDescription
count integer 

Number of items in a list


default : 20
minimum : 1
maximum : 40 
cursor string 

Cursor value for pagination


example : sfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA== 

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Response

HTTP 200

OK

PropertyTypeDescription
posts array (object) 

List of posts

 
responseMetaData object (responseMetaData) 

Metadata for pagination

 

object

PropertyTypeDescription
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.
It is empty if the author's account is deleted.


readOnly : true
nullable : true 
userName string 

Author name


required
readOnly : true 
isNotice boolean 

Indicates whether it is a notice.

 

responseMetaData

PropertyTypeDescription
nextCursor string 

Cursor value for pagination

 

Response Example

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}