Firmware version check via API/HTTP ? (after recent cloudflare block)

Hello!

In the past, I could use a simple HTTP request via my changedetection Docker service to read the latest firmware version from the URL:

Unfortunately, this was recently changed and the page was moved behind the protection of Cloudflare, which blocks my changedetection HTTP requests.

Could you please provide us with some automated way, like an HTTP API or URL, that we can use to automate our firmware version checks?

Thank you :slight_smile:

Greetings,

Apologies for the delayed response.

You may use this API endpoint to check for available firmware updates: Firmware | Teltonika Networks Web API

image
Here is what the output data means:
“version” - Latest version available to download from the server or ‘newest’ if its already up to date.
“stable_version” - Stable version available to download from the server or ‘newest’ if its already up to date.

For API authentication there are 2 methods: Session Token Authentication and HTTP Basic authentication
You can find more information about them here: Fundamentals | Teltonika Networks Web API

If you decide to use HTTP Basic authentication, you will need to enable it under Network → Administration → Access Control, as shown in the picture below

Best Regards,
Justinas