Get all posts and user mentions from a single channel

Hello, I will first explain my case for context.

When a user is logged in the app, he will view a tables with 4 columns and several rows where each row is a channel. I will display an example of the table.

|unread posts | unread mentions | all posts | all mentions|
|‎‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ 3‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ |‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ 1‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ |‎ ‎ ‎ ‎ ‎ ‎ 99‎ ‎ ‎ ‎ ‎ |‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ 9‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎| Channel 1
|‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ 7‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ |‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ 0‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ |‎ ‎ ‎ ‎ ‎ ‎ 47‎ ‎ ‎ ‎ ‎ |‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ 5‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎‎ | Channel 2

The users unread posts and mentions count can be obtained from the API: Mattermost API Reference

Now I want to do the same but for all posts and mentions. Is it possible to do it directly or I have to do a workaround?

Thanks!