API Endpoints

Versions List API

API endpoint to get a list of available Magma versions

Versions List API

The Versions List API provides access to the latest Magma server software versions from the official Maven repository.

Endpoint

GET /api/versions

Query Parameters

ParameterTypeDefaultDescription
limitnumber10Number of versions to return. Set to 0 for all versions.

Response

{
  "total": 35,
  "limit": 10,
  "versions": [
    {
      "groupId": "org.magmafoundation",
      "artifactId": "magma",
      "version": "21.1.33-beta",
      "minecraftVersion": "1.21.x",
      "downloadUrl": "https://repo.magmafoundation.org/releases/org/magmafoundation/magma/21.1.33-beta/magma-21.1.33-beta.jar",
      "installerUrl": "https://repo.magmafoundation.org/releases/org/magmafoundation/magma/21.1.33-beta/magma-21.1.33-beta-installer.jar",
      "changelogUrl": "https://repo.magmafoundation.org/releases/org/magmafoundation/magma/21.1.33-beta/magma-21.1.33-beta-changelog.txt",
      "isStable": false
    }
  ]
}

Response Fields

FieldTypeDescription
totalnumberTotal number of versions available in the repository
limitnumberThe current limit applied to the results
versionsarrayArray of version objects

Each version object contains:

FieldTypeDescription
groupIdstringThe Maven group ID (always "org.magmafoundation")
artifactIdstringThe Maven artifact ID (always "magma")
versionstringThe version string
minecraftVersionstringThe Minecraft version this build supports
downloadUrlstringDirect download URL for the JAR file
installerUrlstringDirect download URL for the installer JAR file
changelogUrlstringURL to the changelog text file
isStablebooleanIndicates if this is a stable release (not a beta/alpha/snapshot)

On this page