Currently, edits made to variables are applied one by one which causes multiple service restarts when only one may be necessary if everything was applied at the same time.
Are public API endpoints for bulk updates exposed yet? We’ve got some internal tooling designed to apply batches of variable endpoints and it would be great to be able to do that in a single query.
Matt: We have yet to work on and confirm functionality of API endpoints for bulk updates. We’re currently working on enabling batch changes on the Fleet and Device Configuration pages. The work on the API endpoints is the next step and we will update here as we make progress.
Matt: UPDATE: We are finalizing the changes indicated in step 2 above. Fleet and Device Configuration pages are planned to support batch submitting just like the Variables pages in dashboard version 20.0.0, which will be coming soon
Matt: UPDATE: Version 20.0.0 of the dashboard is now live, adding support for batch submitting changes to fleet and device Configuration variables!
Thank you everyone for voting for this feature. We have discussed this feature internally and have decided on a way to move forward with implementing it. The current plan (subject to change) is as follows:
- COMPLETED as of dashboard version 19.0.0: Enable making multiple variable changes on the Fleet and Device Variables pages (adding, updating, deleting) and add an “Apply all” button. This will enable submitting many changes at once, however it will not yet enable sending all the changes in one transaction. This should already reduce the amount of restarts required as a start.
- COMPLETED as of dashboard version 20.0.0: Update the Fleet and Device Configuration pages to support batch submitting just like the Variables pages in Step 1
- FUTURE IMPROVEMENT Update the
Apply all
behavior to submit all the changes in one transaction. This should allow for there to be only 1 restart instead of multiple