Skip to content

API Documentation

Patrick edited this page Apr 20, 2024 · 5 revisions

GET /api/jar/types

  • List the available jar types.

Example response

[
  {
    "type": "purpur",
    "name": "Purpur",
    "logoUrl": "http://localhost/images/logos/purpur.png"
  },
  ...
]

GET /api/jar/<jar-type>/versions

  • List the available versions for the selected jar type.

Example response

[
  "1.20.4",
  "1.20.2",
  ...
]

GET /api/jar/<jar-type>/<version>/download

  • Downloads the selected jar file.

Example response

Content-Type: application/java-archive