Get comment
Changed onThis endpoint returns a comment by its ID. Corresponds to liveblocks.getComment.
Request
- Base URL: https://api.liveblocks.io/v2
- URL: https://api.liveblocks.io/v2/rooms/{roomId}/threads/{threadId}/comments/{commentId}
- Auth: none declared
Path parameters
ID of the room
ID of the thread
ID of the comment
Response
Success. Returns the requested comment.
Example response
{
"type": "comment",
"threadId": "thread-id",
"roomId": "room-id",
"id": "comment-id",
"userId": "string",
"createdAt": "2019-08-24T14:15:22Z",
"editedAt": "2019-08-24T14:15:22Z",
"deletedAt": "2019-08-24T14:15:22Z",
"body": {},
"metadata": {},
"reactions": [],
"attachments": []
}Changes
- info
api operation id
get-rooms-roomId-threads-threadId-comments-commentIdremoved and replaced withget-comment - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
became required for the status - info
the
response's property default valuecommentwas removed for the status - info
added 'propertyNames' constraint to the
response property for the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
the response required property
became not read-only for the status
- info
- warning
removed the optional property
/from the response with the status
- warning