Description
The endpoint for getting the number of unread messages does not work(there is no ‘rooms’ section):
-> curl -H "X-Auth-Token: 123" -H "X-User-Id: 123" https://txt.domain.com/api/v1/users.info\?username\=alexander
-> {"user":{"_id":"pNQRsnsraD86N7Law","createdAt":"2023-05-05T11:47:43.245Z","type":"user","status":"offline","active":true,"name":"Alexander","emails":[{"address":"name@domain.com","verified":true}],"roles":["user","admin"],"lastLogin":"2024-02-10T11:08:50.737Z","statusConnection":"offline","utcOffset":2,"username":"alexander","statusText":"","requirePasswordChange":false,"canViewAllInfo":true},"success":true}
Server settings:
Server Setup Information
- Version of Rocket.Chat Server: 6.5.0
- Deployment Method: Docker Compose
- MongoDB Version: 6.0