[Implemented] API creation of configuration push
Posted: Mon Mar 09, 2020 2:49 pm
We have almost completed an application that will query a list of devices and determine the current level of firmware each is running. This list gets compared to a list of desired firmware levels for that device type. We would like to be able to use that list to automatically, via API, create the required elements in a mass configuration push.
This would probably be a 2-step process. We would send the Name, Description, list of devices (IP Address) and the relevant commands via an API Post. Then we would send another Post with the configuration Name and it would run.
Even better for the second step would be to Post the configuration Name and the date and time to run the mass push.
Then we could either poll for a status (GetMassPushStatus?name=<name>) or for all statuses (GetMassPushStatus). Ideally, there would be a WebHook to tell us the status changed, but as far as I am aware, Unimus doesn't have any WebHooks implemented, so we are fine with using the poll rather than have you put the effort into a WebHook.
This would probably be a 2-step process. We would send the Name, Description, list of devices (IP Address) and the relevant commands via an API Post. Then we would send another Post with the configuration Name and it would run.
Even better for the second step would be to Post the configuration Name and the date and time to run the mass push.
Then we could either poll for a status (GetMassPushStatus?name=<name>) or for all statuses (GetMassPushStatus). Ideally, there would be a WebHook to tell us the status changed, but as far as I am aware, Unimus doesn't have any WebHooks implemented, so we are fine with using the poll rather than have you put the effort into a WebHook.