getANTVersions

getANTVersions is a method on the ANTVersions class that retrieves all versions for an ANT, sorted alphabetically by version number.

getANTVersions does not require authentication.

Examples

getANTVersions

const allVersions = await versions.getANTVersions();

Parameters

The getANTVersions method does not accept any parameters.

Output

{
  "1.0.0": {
    "moduleId": "abc123...def789",
    "luaSourceId": "ghi012...jkl345",
    "notes": "Initial version"
  },
  "1.1.0": {
    "moduleId": "mno678...pqr901",
    "luaSourceId": "stu234...vwx567",
    "notes": "Bug fixes and improvements"
  },
  "2.0.0": {
    "moduleId": "yza890...bcd123",
    "luaSourceId": "efg456...hij789",
    "notes": "Major update with new features"
  }
}

Was this page helpful?