Closed mohierf closed 6 years ago
@mohierf , Ok I'll correct that.
I thought this endpoint was always present.
It would be nice to indicate the endpoints, in backend documentation, that are basic available with a backend... :wink:
+1 for you, the doc should be updated with this information.
It would even be better to check on the /user endpoint. I am doing this with the Web UI to get the logged in user information ... I assume you are still doing this in App also ?
Only realm, user, host, hostgroup and servicegroup are endpoints that will always exist because the backend creates one item for each it it does not exist ...
@mohierf ok, I've set /user
endpoint for connection checks.
And I've also opened an issue for backend documentation.
Checking Alignak backend correct connection on /alignak is not the best solution. You'd rather check with the /realm endpoint, because it is not manadatory that an
alignak
item exists in the backend...