Very simple template to capture the current and starting configuration from Ubiquiti Access Points.
There are a bunch more functions, but this is all I wanted for the time being.
Note: Tested with Ubiquiti U6-IW (In-Wall AP / Wi-Fi 6) running firmware 6.2.39.14077.