On Android, in order to properly show the unread marker when opening a notification, I need to get the subscription’s lastSeen (ls) field. I could get all subscriptions and filter internally but seems such a waste of resources instead of just querying for a single subscription “/api/v1/subscription.info?roomId=$roomId”
We have this endpoint @lucio.maciel, https://rocket.chat/docs/developer-guides/rest-api/channels/notifications/get/, thanks.
I have marked this as not solved because the endpoint is being renamed due to being incorrectly named for what it did. It will be renamed to
subscriptions.getOne (or similar) and take a room id to return the subscription for.