# Using IA's REST API to get latest version

**URL:** <https://forum.inductiveautomation.com/t/using-ias-rest-api-to-get-latest-version/56988>\
**Category:** Ignition\
**Created:** [March 8, 2022, 11:13pm UTC](https://forum.inductiveautomation.com/t/using-ias-rest-api-to-get-latest-version/56988 "2022-03-08T23:13:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![coatl-dev](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/coatl-dev/32/82365_2.png) [@coatl-dev](https://forum.inductiveautomation.com/u/coatl-dev)\
**Post date:** [March 8, 2022, 11:13pm UTC](https://forum.inductiveautomation.com/t/using-ias-rest-api-to-get-latest-version/56988/1 "2022-03-08T23:13:17Z")

</div>

I have tried to find any information on IA’s REST API and have only found two links that have been shared here at the forum:

[https://api.inductiveautomation.com/](https://api.inductiveautomation.com/)

[https://api.inductiveautomation.com/v2/ignition/projects](https://api.inductiveautomation.com/v2/ignition/projects)

Is there a way to get the latest version using the API?

Let’s consider the following as examples:

IntelliJ IDEA  
[https://data.services.jetbrains.com/products/releases?code=IIU&latest=true&type=release](https://data.services.jetbrains.com/products/releases?code=IIU&latest=true&type=release)

PyCharm  
[https://data.services.jetbrains.com/products/releases?code=PCP&latest=true&type=release](https://data.services.jetbrains.com/products/releases?code=PCP&latest=true&type=release)

Visual Studio Code:  
Intel chip  
[https://update.code.visualstudio.com/api/update/darwin/stable/VERSION](https://update.code.visualstudio.com/api/update/darwin/stable/VERSION)  
M1 chip  
[https://update.code.visualstudio.com/api/update/darwin-arm64/stable/VERSION](https://update.code.visualstudio.com/api/update/darwin-arm64/stable/VERSION)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [March 8, 2022, 11:18pm UTC](https://forum.inductiveautomation.com/t/using-ias-rest-api-to-get-latest-version/56988/2 "2022-03-08T23:18:06Z")

</div>

AFAIK this only exists to serve up those example projects.

I’m not sure if an API to get the version exists or if this is really even intended for broader public use.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 8, 2022, 11:26pm UTC](https://forum.inductiveautomation.com/t/using-ias-rest-api-to-get-latest-version/56988/3 "2022-03-08T23:26:06Z")

</div>

Yeah, I don’t think there’s anything public facing to automatically retrieve the latest version.

Curious what your end goal is.

While I would definitely support being on the latest version as much as possible, it’s also probably _not_ a good idea to immediately blindly update automatically without some provisions in place.

---

<div class="post-metadata">

**Author:** ![coatl-dev](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/coatl-dev/32/82365_2.png) [@coatl-dev](https://forum.inductiveautomation.com/u/coatl-dev)\
**Post date:** [March 8, 2022, 11:34pm UTC](https://forum.inductiveautomation.com/t/using-ias-rest-api-to-get-latest-version/56988/4 "2022-03-08T23:34:01Z")

</div>

One of my intentions is to update the `livecheck` on the `ignition` Homebrew formulae I’ve created.

Currently I check the `ignition_versions` Javascript object found in the source code for the Downloads page and use regex to obtain the latest for 8.1, 8.0, and 7.9.

> <https://github.com/coatl-dev/homebrew-coatl-dev/blob/coatl/Formula/ignition.rb#L10-L14>
