1
Box Apiを使用してファイルにコメントするシナリオがあります。私はBox APIを使用してコメントを追加しました。すべてのコメントを表示すると、すべてのコメントについて同じコメントの人名が表示されます。Box Api - ファイルにコメントしたユーザーの詳細を取得する方法
{
"type": "comment",
"id": "1111",
"is_reply_comment": false,
"message": "Sample Comment 1",
"created_by": {
"type": "user",
"id": "111",
"name": "AAA",
"login": "[email protected]"
},
"created_at": "2016-08-11T00:01:56-07:00",
"item": {
"id": "78110824178",
"type": "file"
},
"modified_at": "2016-08-11T00:01:56-07:00"
}
{
"type": "comment",
"id": "2222",
"is_reply_comment": false,
"message": "Sample Comment 2",
"created_by": {
"type": "user",
"id": "111",
"name": "AAA",
"login": "[email protected]"
},
"created_at": "2016-08-11T00:01:56-07:00",
"item": {
"id": "78110824178",
"type": "file"
},
"modified_at": "2016-08-11T00:01:56-07:00"
}
するとコメントに異なるユーザー