Greetings!
I have several hosts.
Could you please tell me how I can get a host list using API?
I do this:
curl --silent -X GET -H 'content-type: application/json' -H 'fog-user-token: token' -H 'fog-api-token: token' http://hostname/fog/host
And I receive in reply:
{"count": 0, "hosts": []}
I also tried:
- /fog/host/list
- /fog/host/all
And this also returns:
{"count": 0, "hosts": []}
Fog running Version: 1.4.4
Regards!