getOrgMultiSitesDevicesUpgrade

GET https://{{host}}/api/v1/orgs/:org_id/devices/upgrade/:upgrade_id

Response Parameters

NameTypeDescription
iduuidunique id for the org upgrade
target_versionstringversion to upgrade to
strategystringupgrade strategy
enable_p2pboolwhether to allow local AP-to-AP FW upgrade
forceboolwhether to force upgrade when requested version is same as running version
upgradesarray of upgradesarray of site upgrades, one upgrade for each site
upgrade.iduuidunique id for the site upgrade
upgrade.statusstringstatus upgrade is in (created/in_progress/completed/cancelled)
upgrade.start_timeintupgrade start time in epoch
upgrade.targets.totalintcount of devices part of this upgrade
upgrade.targets.scheduledarray of stringsdevices which cloud has scheduled an upgrade
upgrade.targets.download_requestedarray of stringsdevices which cloud has requested to download firmware
upgrade.targets.downloadedarray of stringsdevices which have the firmware downloaded
upgrade.targets.reboot_in_progressarray of stringsdevices which are rebooting
upgrade.targets.rebootedarray of stringsdevices which have rebooted successfully
upgrade.targets.upgradedarray of stringsdevices which have upgraded successfully
upgrade.targets.skippedarray of stringsdevices which have skipped upgrade since requested version was same as running version. Use force to always upgrade
upgrade.targets.failedarray of stringsdevices which have failed to upgrade

RESPONSES

status: OK

{"id":"510faff9-0c55-4112-8796-f7589da0f7bc","target_version":"apfw-0.7.20216-gilly-d4fc","strategy":"big_bang","enable_p2p":false,"force":false,"upgrades":[{"site_id":"1916d52a-4a90-11e5-8b45-1258369c38a9","upgrade":{"id":"9b5fde1d-bda4-486f-8eb6-4368aa30cf30","status":"created","start_time":1626892546,"targets":{"scheduled":[],"downloaded":[],"download_requested":[],"reboot_in_progress":[],"rebooted":[],"skipped":[],"failed":[],"total":1}}},{"site_id":"65c2095a-e049-4267-88a5-5019e4b69a4d","upgrade":{"id":"510faff9-0c55-4112-8796-f7589da0f7bc","status":"created","start_time":1626892546,"targets":{"scheduled":[],"downloaded":[],"download_requested":[],"reboot_in_progress":[],"rebooted":[],"skipped":[],"failed":[],"total":1}}}]}