09-22-2016 06:12 PM
Hello,
I am trying to find the upTime of a device. When I query /webacs/api/v1/data/InventoryDetails/[ID] I get all of the details for the entry. For a larger switch chassis, this is a ponderous number of interfaces and other details. What I really want is the value of "upTime" in the "summary" attribute. Is there any way to narrow the queryResponse?
Solved! Go to Solution.
09-26-2016 09:25 AM
No, the API does not support custom projections of the data.
09-26-2016 09:25 AM
No, the API does not support custom projections of the data.
09-26-2016 10:45 AM
Well please consider this a feature request. When looking to poll a specific value, InventoryDetails returns a TON of potentially superfluous data that eats into the rate-limits for API. The ability to pass a parameter in the API that would limit the entities in the response would make InventoryDetails far far more useful. Thanks.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide