API Reference

Backend API Docs

Complete reference for the Spoak backend REST API. Base URL: http://localhost:4000/api

Base URL:/api
The API is built natively using Next.js App Router Route Handlers with TypeScript. It provides fast caching and proxies requests to Mojang, PaperMC, Purpur and Leaf APIs.
Next.js 16 Route HandlersTypeScriptNode TCP SLPMojang & PaperMC APIs
GET

Tüm Minecraft Sürümleri

/api/serverjars/versions

Mojang manifestosundan kararlı release sürümlerini listeler (2 saat önbellekli).

Örnek JSON Yanıtı200 OK
{
  "versions": [
    "26.2",
    "26.1.2",
    "1.21.11",
    "1.21.4",
    "1.20.4",
    "..."
  ]
}