This allows you to check which drivers are installed (and in which state they are).
List all devices
GET http://localhost:12340/v1/devices
curl --request GET \
--url http://localhost:12340/v1/devices \
--header 'Accept: application/json'
Count devices only
This is useful when you only need the caldera-total-results header.
HEAD http://localhost:12340/v1/devices
curl --head \
--url http://localhost:12340/v1/devices
List Running Devices
GET http://localhost:12340/v1/devices/?state=running
curl 'http://localhost:12340/v1/devices?state=running'Example sort
curl 'http://localhost:12340/v1/devices?sort=name:asc,state:desc'Shared state values
Device responses use the shared state model. Documented values include:
- unreachable
- running
- starting
- aborting
- stopping
- sleeping
- idling