The API does not expose this information yet, but [there is effort to do so](https://gitlab.studip.de/studip/studip/-/issues/5504). Once this is done, we can implement the client-part here.