Get user room subscription settings
Changed onThis endpoint returns the list of a user's room subscription settings. Corresponds to liveblocks.getUserRoomSubscriptionSettings.
Request
- Base URL: https://api.liveblocks.io/v2
- URL: https://api.liveblocks.io/v2/users/{userId}/room-subscription-settings
- Auth: none declared
Path parameters
ID of the user
Query parameters
A cursor used for pagination. Get the value from the nextCursor response of the previous page.
A limit on the number of elements to be returned. The limit can range between 1 and 50, and defaults to 50.
The organization ID to filter room subscription settings for.
Response
Success. Returns the list of the user's room subscription settings.
Example response
{
"nextCursor": null,
"data": [
{
"threads": "all",
"textMentions": "mine",
"roomId": "my-room-id"
}
]
}Changes
- breaking
for the
queryrequest parameterlimit, the type changed fromnumbertointeger - breaking
the
//response's property type changed from no type tostringfor status - warning
removed the optional property
from the response with the status - info
api operation id
get-users-userId-subscription-settingsremoved and replaced withget-user-room-subscription-settings - info
added the new optional
queryrequest parameterorganizationId - 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
added the required property
to the response with the status
- breaking
- info
endpoint added
- info