Discord Hook and Server Status page

I’m wondering how to setup a web page for my conan servers that would show if it’s up, player status, etc. A bit like we see on the official server page. Does anyone know how to do that?

Also, I’m looking to have a web hook to discord for server restart and such. Is it possible?

I’m not using the official launcher, I’m on a docker container. I guess there’s an API to which I can connect to query all of these info but I can’t find the information regarding this.

Thank you!