Comments

Get thread subscriptions

Changed on

This endpoint gets the list of subscriptions to a thread. Corresponds to liveblocks.getThreadSubscriptions.

get/rooms/{roomId}/threads/{threadId}/subscriptions

Request

  • Base URL: https://api.liveblocks.io/v2
  • URL: https://api.liveblocks.io/v2/rooms/{roomId}/threads/{threadId}/subscriptions
  • Auth: none declared

Path parameters

roomIdstring required

ID of the room

Example:my-room-id
threadIdstring required

ID of the thread

Example:th_abc123

Response

Success.

Example response

{
  "data": [
    {
      "kind": "thread",
      "subjectId": "th_abc123",
      "createdAt": "2022-07-13T14:32:50.697Z",
      "userId": "alice"
    }
  ]
}

Changes

    • info

      api operation id get-rooms-roomId-threads-threadId-subscriptions removed and replaced with get-thread-subscriptions

    • 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

      endpoint added