[Implemented] API creation of configuration push

Post your feature requests here
Post Reply
sbrconsulting
Posts: 19
Joined: Tue Aug 07, 2018 5:20 pm

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.
sbrconsulting
Posts: 19
Joined: Tue Aug 07, 2018 5:20 pm

Sun Aug 23, 2020 1:03 pm

Now that version 2.0.x has Mass Configuration Push scheduling, the ability to set up MCP via the API would be even more useful,
In addition, we are working on a proposal for another customer that would benefit greatly from being able to load the configuration changes made in the proposed application into MCP and schedule it to be run from within the application.
Is there any thought of adding API support for MCP to the roadmap in the near future?
User avatar
Tomas
Posts: 1206
Joined: Sat Jun 25, 2016 12:33 pm

Fri Jul 09, 2021 3:53 pm

Just an update: we are currently designing API v3 (to be released in v2.2) which we hope to implement in the following 3-6 months. It will expose all functionality of Unimus, including Config Push.

We will publish a draft of the proposed API endpoints and objects in the Beta section of the forum once finalized for comments, please subscribe there if you wish to be notified when that is ready :)
User avatar
Tomas
Posts: 1206
Joined: Sat Jun 25, 2016 12:33 pm

Wed Aug 11, 2021 11:09 pm

API v3 draft available here: viewtopic.php?f=4&t=1347

Please post any questions / feedback in that topic :)
Post Reply