Skip to content

Use UniFi's API to grab latest version #151

@shaneallgeier

Description

@shaneallgeier

Hey guys, I recently discovered this API that the UniFi controller reaches out to check for updates. After some research & guessing, I ended up with this URL we can use to figure out the download link to the latest controller version:
https://fw-update.ubnt.com/api/firmware?filter=eq~~product~~unifi-controller&filter=eq~~platform~~unix&filter=eq~~channel~~release&sort=-version&limit=1

Unfortunately, I don't have the knowledge to actually implement this into the script. I leave it to one of the many capable members of this repo. (Perhaps @joshyrobot since he has a related PR?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions