Hello,
I agree, that it would be quite bit of work via current API, yes.
My comment on that it would be immensely useful to able to download and later upload whole device config via REST API in pure JSON format. Now there is just way of invoking backup and you get a binary blob (tar.gz) and while just backup & recovery use that’s fine.
But for building configuration management system it doesn’t help much. However if all of that could be exported and uploaded plain JSON that would make much more easier all that I described above. Storing configs to git, making changes where needed, uploading using simple python script etc.
But it’s up to Teltonika to add that kind of complete config JSON download and upload feature to that REST API, which now allows only do that in smaller snippets.
I agree there is a learning curve going Ansible route. I don’t like it either because it’s yaml use. Regardless it’s become so popular that it became unavoidable to avoid many places where devops set rules.
Anyhow if you end up willing to try. I recommend you check Jeff Geerlings (Youtube Raspberry Pi etc. ARM affiniado fame) has written good, short and affordable books learning and using Absible. And check his GitHub also, he has great collection all kinds of real world working ansible scripts he has made as he loves it.
Cheers,
riku