KACE API Inventory Definition for Machine
The documentation suggests that the machine JSON object definition contains an optional attribute 'netmask'.
How do I read it, if it does exist?
A GET request to /api/inventory/machines/{machine_id} returns only a subset of what is described in the machine definition.
Am I missing something?
2 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
JasonEgg
6 years ago
The API documentation is... well... not good. I'm not surprised if there's wrong information in it. Unfortunately, every time I've asked support about the API they refer me to the documentation (or even posts on ITNinja!). However, the API is not officially supported so it makes sense support would not spend much time on these questions.
api/inventory/machines/{device_id}?shaping=machine all,machine_nics all - JasonEgg 6 years ago
These are the only attributes I get back for Machine_nics when running the same API call:
ID, NIC, MAC, DHPC_ENABLED, DNSDOMAIN, DNSHOSTNAME - ndelo 6 years ago