Comments
Subscribe to thread
Changed onThis endpoint subscribes to a thread. Corresponds to liveblocks.subscribeToThread.
post/rooms/{roomId}/threads/{threadId}/subscribe
Request
- Base URL: https://api.liveblocks.io/v2
- URL: https://api.liveblocks.io/v2/rooms/{roomId}/threads/{threadId}/subscribe
- Auth: none declared
Path parameters
roomIdstring required
ID of the room
Example:my-room-id
threadIdstring required
ID of the thread
Example:th_abc123
Request body
Example request
{
"userId": "alice"
}Response
Success. Returns the thread subscription.
Example response
{
"kind": "thread",
"subjectId": "th_abc123",
"createdAt": "2022-07-13T14:32:50.697Z"
}Changes
- info
api operation id
post-rooms-roomId-threads-threadId-subscriberemoved and replaced withsubscribe-to-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
- breaking
added required request body
- breaking