Skip to content

HTTP API overview

Fabricator’s dashboard talks to a Flask API mounted under /api. This page is a practical map for contributors and operators; endpoint details may evolve with the UI.

MethodPathPurpose
GET/api/auth/statusReturn whether auth is enabled, whether setup is needed, and whether the current session is authenticated.
POST/api/auth/setupOne-time first-boot password setup. JSON only; requires at least 8 characters.
POST/api/auth/loginAuthenticate with the operator password and create a session.
POST/api/auth/logoutClear the current authenticated session.
POST/api/auth/change-passwordChange the operator password when it is not env-managed.
MethodPathPurpose
GET/api/healthBasic health check.
GET/api/update/statusCurrent installed/latest Fabricator release status and update progress.
POST/api/updateTrigger dashboard self-update.
MethodPathPurpose
GET/api/playit/statusReturn shared tunnel-agent status, claim URL, verification flag, and known playit tunnels.
POST/api/playit/startStart the shared playit agent or begin the claim flow.
POST/api/playit/stopStop the shared playit agent and persist the disabled state.
POST/api/playit/resetStop the shared agent and delete the saved playit secret so the next start requires a fresh claim.
MethodPathPurpose
GET/api/serversList servers with runtime augmentation.
POST/api/serversCreate a server record.
GET/api/servers/<server_id>Get one server with runtime augmentation.
PUT/api/servers/<server_id>/settingsUpdate settings and write server.properties.
PUT/api/servers/<server_id>/autostartUpdate per-server auto-start behavior.
DELETE/api/servers/<server_id>Delete a server record and optionally files.
POST/api/servers/<server_id>/installStart async server install.
GET/api/servers/<server_id>/install/progressPoll install progress.
POST/api/servers/<server_id>/startStart server process.
POST/api/servers/<server_id>/stopStop server process.
POST/api/servers/<server_id>/restartStop then start server process.
GET/api/servers/<server_id>/logsTail process stdout/stderr.
POST/api/servers/<server_id>/consoleSend a command to process stdin.
MethodPathPurpose
GET/api/servers/<server_id>/filesBrowse a directory below the server root.
GET/api/servers/<server_id>/files/contentRead a UTF-8 text file.
PUT/api/servers/<server_id>/files/contentWrite a UTF-8 text file.
GET/api/servers/<server_id>/modsList installed JARs.
DELETE/api/servers/<server_id>/mods/<filename>Delete one installed mod.
DELETE/api/servers/<server_id>/modsBulk delete installed mods.
MethodPathPurpose
GET/api/modrinth/searchSearch mod projects.
GET/api/modrinth/modpacks/searchSearch modpack projects.
GET/api/modrinth/mod/<mod_id>Get mod details.
GET/api/modrinth/project/<project_id>Get project details.
GET/api/modrinth/mod/<mod_id>/versionsList mod versions.
GET/api/modrinth/project/<project_id>/versionsList project versions.
GET/api/modrinth/project/<project_id>/resolve-versionResolve best compatible project version.
GET/api/modrinth/mod/<mod_id>/download-urlResolve best compatible mod file URL.
POST/api/modrinth/mod/<mod_id>/installInstall a Modrinth mod into a server.
POST/api/modrinth/modpack/<project_id>/installInstall a Modrinth modpack into a server.
GET/api/modrinth/modpack/install-progress/<server_id>Poll modpack install progress.
GET/api/modrinth/version/<version_id>Get version details.
GET/api/modrinth/categoriesList categories.
GET/api/modrinth/loadersList loaders.
GET/api/modrinth/game-versionsList Minecraft versions.
MethodPathPurpose
GET/api/servers/<server_id>/players/stateCombined whitelist/ops/bans/known state.
GET/api/servers/<server_id>/players/onlineOnline players from running server.
POST / DELETE/api/servers/<server_id>/players/whitelistAdd/remove whitelist entries.
PATCH/api/servers/<server_id>/players/whitelist/activeToggle runtime whitelist.
PATCH/api/servers/<server_id>/players/whitelist/enforcePersist stopped-server enforce-whitelist.
POST / PATCH / DELETE/api/servers/<server_id>/players/opsAdd, change, or remove operators.
POST / DELETE/api/servers/<server_id>/players/bansBan/unban players.
POST / DELETE/api/servers/<server_id>/players/bans/ipBan/unban IPs.
POST/api/servers/<server_id>/players/kickKick a player.
MethodPathPurpose
GET / POST/api/servers/<server_id>/backup-configsList/create backup configs.
PUT / DELETE/api/servers/<server_id>/backup-configs/<config_id>Update/delete a backup config.
POST/api/servers/<server_id>/backup-configs/<config_id>/runRun a configured backup now.
POST/api/servers/<server_id>/backup-quickRun an ad-hoc backup.
GET/api/servers/<server_id>/backup-summarySnapshot count, size, last/next run.
GET/api/servers/<server_id>/snapshotsList snapshots.
DELETE/api/servers/<server_id>/snapshots/<snapshot_id>Delete snapshot record/archive.
GET/api/servers/<server_id>/snapshots/<snapshot_id>/downloadDownload snapshot as tar or zip.
POST/api/servers/<server_id>/snapshots/<snapshot_id>/restoreStart restore job.
POST/api/servers/<server_id>/world-importUpload a world archive and start a world-import job.
GET/api/backup-jobs/<job_id>Poll backup/restore/world-import job.
MethodPathPurpose
GET/api/java/statusJava runtime status and recommendations.
POST/api/java/installStart managed Java install.
GET/api/java/install/progress/<task_id>Poll Java install progress.
DELETE/api/java/install/<task_id>Cancel Java install task.
GET/api/java/installedList managed Java runtimes installed on disk.
DELETE/api/java/installed/<major>Delete an installed managed Java major version.
GET/api/metrics/systemHost-level CPU/RAM metrics when available.
GET/api/servers/<server_id>/metricsPer-server runtime metrics when available.
GET/api/loaders/<loader>/versions/gameSupported Minecraft versions for a loader.
GET/api/loaders/<loader>/versions/loaderLoader-specific versions for a Minecraft version.