Get CircleCI Latest Orb Version

159 Views Asked by At

I'm looking to get the latest version of an Orb in CircleCI via an API.

For example

  • node 5.0.2

node 5.0.2

Am I missing something in the Docs or the API Docs?

Also tried looking at how Shields was showing the version CircleCI Orb Version but didn't get anywhere.

1

There are 1 best solutions below

0
On

There's no CircleCI API endpoint for orbs (AFAIK). But you could achieve the result you're looking for with the CircleCI CLI:

circleci orb info circleci/node|grep -i latest|cut -d "@" -f 2