-
Notifications
You must be signed in to change notification settings - Fork 1
Rest Service
path: /auth usage: You need to send two Headers within the request. The request must be a post and the two headers are 'username' and 'password'.
path: /api/version usage: You create a get request and you'll receive the version of the master as json.
path: /api/plugins usage: You create a get request and you'll receive a list of loaded plugins as json.
path: /api/server usage: You create a get request with a query parameter called 'server'. In this query parameter there must be the name of the server. You'll receive an answer as json.
path: /api/servers usage: You create a get request and you'll receive a list of started servers as json.
path: /api/spigotserver, /api/bungeeserver, /api/daemonserver usage: You create a get request and you'll receive a list of all specified servers as json.
path: /api/templates usage: You create a get request and you'll receive a list of all templates as json.
path: /api/template usage: You create a get request with a query parameter called 'name'. This parameter should contain the name of the template.
path: /api/templateupload usage: You create a put request with a json body containing a list of lines of the template configuration file.