GET/boards/{boardId}/posts/{postId}/readers

投稿の既読メンバーリストを取得する。
ゴミ箱内の投稿については取得できない。

Authorization

oauth2

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

Scope

board
board.read

HTTP Request

GEThttps://www.worksapis.com/v1.0/boards/{boardId}/posts/{postId}/readers

Path Parameters

ParameterTypeDescription
boardId integer 

掲示板 ID


required
example : 100
format : int64 
postId integer 

投稿 ID


required
example : 1
format : int64 

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Response

HTTP 200

OK

PropertyTypeDescription
readers array (object) 

maxItems : 5000 
responseMetaData object (responseMetaData) 

レスポンスのメタデータ

 

object

PropertyTypeDescription
userId string 

ユーザー ID 退会済みユーザーの場合には NULL


example : user7149-0ccd-433d-1eba-04f6901660dc
readOnly : true
nullable : true 
userName string 

ユーザーの名前


required
example : Susan Nielsen
readOnly : true 
isRead boolean 

既読フラグ


required
example : false
readOnly : true 

responseMetaData

PropertyTypeDescription
nextCursor string 

次のリスト取得時に使用するカーソル値

 

Response Example

example

1{2  "readers": [3    {4      "userId": "user7149-0ccd-433d-1eba-04f6901660dc",5      "userName": "Susan Nielsen",6      "isRead": true7    }8  ],9  "responseMetaData": {10    "nextCursor": "JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA=="11  }12}