Couple of things. The parameter for auto-reboot is yes, rather than true.
I had the same issues "Failed to parse JSON input for /rest/os-upgrade". You need to wrap the url in "" like below example.
{"upgrade-info": {"auto-reboot": "yes", "Gemini-url": "http://192.168.3.102/ArubaInstant_Gemini_8.8.0.0_79697" }}
I'll get techpubs to update the documentation.
------------------------------
Michael Clarke (Aruba)
------------------------------
Original Message:
Sent: May 05, 2021 10:22 AM
From: Jo McGhee
Subject: Upgrading Gemini (505) Firmware via REST API
I was looking to upgrade some 505 and 505H (Gemini platform) through the REST API. I found the API in the documentation:
/rest/os-upgrade
{"upgrade-info":{"auto-reboot":true, <platform-url>: ftp://10.1.1.41/ArubaInstant_platform_8.5.0.0_69414}}
The issue is that the Gemini platform doesn't seem to be availble in the APIs...
I've checked both the 8.7 and 8.8 documentation.
Am I missing something? How do I update the firmware via API on a Gemini AP?
------------------------------
Jo McGhee
------------------------------