Root Path of API - Get systemInfo

Hi everyone!

I think I have a very basic question but I’ve already spent 2 hours trying to solve this.

The Keycloak API documentation states that I have to make a GET Request to / in order to get the ServerInfoRepresentation.

It doesn’t work. I’ve tried:
http ://keycloaklocal:8080/auth/admin
http ://keycloaklocal:8080/auth/
http ://keycloaklocal:8080/auth
http ://keycloaklocal:8080/

None of these request yield any result.

Getting the realm information works just fine with:
http ://keycloaklocal:8080/auth/admin/realms/TestRealm/

But I want to get the ServerInformation like uptime and so on.

Can you tell me what mistake im making?

(Sorry new User can only include 2 links --> obfuscated the links)

Thank you!

What about /auth/admin/serverinfo?

Nope, I’m getting the follown error:

HTTP/1.1 404 Not Found
{“error”:“RESTEASY003210: Could not find resource for full path: http ://keycloak.local:8080/auth/admin/serverInfo”}

I wrote serverinfo, you wrote serverInfo - case sensivity?

Thank you!! You are right. In the documentation it is serverInfo therefore I’ve just copied that string. Well, now it’s working. Thanks!