Feeds
Get room feeds
Changed onThis endpoint returns the feeds in the requested room. Corresponds to liveblocks.getFeeds.
get/rooms/{roomId}/feeds
Request
- Base URL: https://api.liveblocks.io/v2
- URL: https://api.liveblocks.io/v2/rooms/{roomId}/feeds
- Auth: none declared
Path parameters
roomIdstring required
ID of the room
Example:my-room-id
Query parameters
cursorstring
A cursor used for pagination. Get the value from the nextCursor response of the previous page.
Example:eyJjcmVhdGVkQXQiOjE2NjAwMDA5ODgxMzd9
sinceinteger
Only return feeds with createdAt greater than this Unix timestamp in milliseconds.
Example:1660000988137
limitinteger
A limit on the number of feeds to be returned. The limit can range between 1 and 100, and defaults to 20.
Example:20
Response
Success. Returns list of feeds in a room.
Example response
{
"nextCursor": "eyJjcmVhdGVkQXQiOjE2NjAwMDA5ODgxMzd9",
"data": [
{
"feedId": "my-feed-id",
"metadata": {
"type": "chat",
"name": "General Discussion"
},
"createdAt": 1660000988137,
"updatedAt": 1660000988137
}
]
}Changes
- info
endpoint added
- info