Get thread
Changed onThis endpoint returns a thread by its ID. Corresponds to liveblocks.getThread.
Request
- Base URL: https://api.liveblocks.io/v2
- URL: https://api.liveblocks.io/v2/rooms/{roomId}/threads/{threadId}
- Auth: none declared
Path parameters
ID of the room
ID of the thread
Response
Success. Returns requested thread.
Example response
{
"type": "thread",
"id": "th_abc123",
"roomId": "my-room-id",
"comments": [
{
"type": "comment",
"threadId": "th_abc123",
"roomId": "my-room-id",
"id": "cm_abc123",
"userId": "alice",
"createdAt": "2022-07-13T14:32:50.697Z",
"body": {
"version": 1,
"content": []
},
"metadata": {},
"reactions": [],
"attachments": []
}
],
"createdAt": "2022-07-13T14:32:50.697Z",
"updatedAt": "2022-07-13T14:32:50.697Z",
"metadata": {
"color": "blue"
},
"resolved": false,
"visibility": "public"
}Changes
- info
added the required property
to the response with the status
- info
- info
api operation id
get-rooms-roomId-threads-threadIdremoved and replaced withget-thread - 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 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 '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