Minecraft Grass Block Bedrock Server Manager

Bedrock Server Manager HTTP API Documentation

This document describes the HTTP API provided by the Bedrock Server Manager. All API endpoints are prefixed with /api.

Server Control

GET /api/status

Returns the current status of the Minecraft server process.

Response:


POST /api/start

Starts the Minecraft server if it’s not already running.

Response:


POST /api/stop

Stops the Minecraft server if it’s running.

Response:


POST /api/restart

Restarts the Minecraft server.

Response:


POST /api/update

Checks for Minecraft server updates and installs them if available. This involves stopping the server, backing up data, downloading the new version, restoring data, and restarting the server.

Response:


Server Properties

GET /api/properties

Retrieves the current server.properties configuration.

Response:


POST /api/properties

Updates the server.properties file. Note that a server restart is required for changes to take effect.

Request Body: JSON object containing the property keys and values to update.

Response:


World Management

GET /api/worlds

Lists all world folders found in the server’s worlds directory.

Response:


POST /api/activate-world

Sets a specific world as active by updating the level-name in server.properties. This endpoint also triggers a server restart.

Request Body: { "worldName": "string" }

Response:


Application Configuration

GET /api/config

Retrieves the current application configuration (e.g., auto-update settings).

Response:


POST /api/config

Updates the application configuration settings.

Request Body: { "autoUpdateEnabled": boolean, "autoUpdateIntervalMinutes": number, "logLevel": "string" } (All fields are optional)

Response:


Pack Management

POST /api/upload-pack

Uploads and applies a behavior or resource pack (.mcpack or .mcaddon) to a specific world.

Request Type: multipart/form-data

Parameters:

Response:

Logo by the Digital Education & Safety Foundation