Services
Game service catalogue, install, lifecycle, console, and player requests.
List available services
Lists services that can be installed on the server.
https://api.creeper.host/os/availableservicesHeaders
Content-Type: application/json
key: {api-key}
secret: {api-secret}Response 200
{
"status": "success",
"services": {
"7dtd": {
"id": "7dtd",
"displayName": "7 Days to Die",
"displayVersion": "Beta",
"category": "Games",
"requireWipe": true
}
},
"endPoint": "aries-production-59c48bc84-hpqw4"
}
List installed services
Lists services currently installed on the server.
https://api.creeper.host/os/listservicesHeaders
Content-Type: application/json
key: {api-key}
secret: {api-secret}Response 200
{
"status": "success",
"services": {
"unturned": {
"id": "unturned",
"displayName": "Unturned",
"displayVersion": "Alpha",
"category": "Games"
},
"mc": {
"id": "mc",
"displayName": "Minecraft",
"displayVersion": "Release",
"category": "Games"
}
},
"endPoint": "aries-production-59c48bc84-hpqw4"
}
Install new service
Installs a new service by service id.
https://api.creeper.host/os/installserviceHeaders
Content-Type: application/json
key: {api-key}
secret: {api-secret}Request body
{
"id": "unturned"
}
Response 200
{
"status": "success",
"message": "The requested service is being installed."
}
Remove service
Uninstalls an installed service.
https://api.creeper.host/{daemon}/uninstallUse the installed service name in the first path segment, for example mc, unturned, ark, or valheim.
Headers
Content-Type: application/json
key: {api-key}
secret: {api-secret}Response 200
{
"status": "success",
"message": "This service has been removed.",
"endPoint": "aries-production-59c48bc84-hpqw4"
}
Check service install status
Checks whether a service is still installing.
https://api.creeper.host/{daemon}/installingUse the installed service name in the first path segment, for example mc, unturned, ark, or valheim.
The instance field is required when the target service uses named instances; omit it for single-instance services.
Headers
Content-Type: application/json
key: {api-key}
secret: {api-secret}Request body
{
"instance": "mc-59026a225dc14"
}
Response 200
{
"status": "success",
"installing": true,
"endPoint": "aries-production-59c48bc84-hpqw4"
}
Check service install progress
Returns progress text for a service install.
https://api.creeper.host/{daemon}/progressUse the installed service name in the first path segment, for example mc, unturned, ark, or valheim.
Headers
Content-Type: application/json
key: {api-key}
secret: {api-secret}Response 200
{
"status": "success",
"message": "Loading installation scripts...",
"progress": "0%",
"log": "latest",
"endPoint": "aries-production-59c48bc84-hpqw4"
}
Get service versions
Lists installable versions for a service.
https://api.creeper.host/{daemon}/versionsUse the installed service name in the first path segment, for example mc, unturned, ark, or valheim.
Headers
Content-Type: application/json
key: {api-key}
secret: {api-secret}Response 200
{
"status": "success",
"versions": {
"7385": {
"id": 7385,
"displayName": "RocketMod",
"displayVersion": "Latest",
"requireWipe": false
}
},
"total": 1,
"endPoint": "aries-production-59c48bc84-hpqw4"
}
Install service version
Installs a specific service version.
https://api.creeper.host/{daemon}/installUse the installed service name in the first path segment, for example mc, unturned, ark, or valheim.
Headers
Content-Type: application/json
key: {api-key}
secret: {api-secret}Request body
{
"id": "versionID",
"instance": "mc-59026a225dc14"
}
Response 200
{
"status": "success",
"message": "Your requested software is currently installing...",
"result": "",
"id": "mc-59026a225dc14-590345e9d52f5",
"endPoint": "aries-production-59c48bc84-hpqw4"
}
Start game service
Starts a game service.
https://api.creeper.host/{daemon}/startserverUse the installed service name in the first path segment, for example mc, unturned, ark, or valheim.
Headers
Content-Type: application/json
key: {api-key}
secret: {api-secret}Request body
{
"instance": "ut-5902260d6b88e"
}
Response 200
{
"status": "success",
"pid": 0,
"message": "Server has been started.",
"code": 1,
"endPoint": "aries-production-59c48bc84-hpqw4"
}
Stop game service
Stops a game service.
https://api.creeper.host/{daemon}/stopserverUse the installed service name in the first path segment, for example mc, unturned, ark, or valheim.
Headers
Content-Type: application/json
key: {api-key}
secret: {api-secret}Request body
{
"instance": "ut-5902260d6b88e"
}
Response 200
{
"status": "success",
"keptlogs": false,
"message": "Server has been stopped.",
"code": 4,
"endPoint": "aries-production-59c48bc84-hpqw4"
}
Restart game service
Restarts a game service.
https://api.creeper.host/{daemon}/restartserverUse the installed service name in the first path segment, for example mc, unturned, ark, or valheim.
Headers
Content-Type: application/json
key: {api-key}
secret: {api-secret}Request body
{
"instance": "ut-5902260d6b88e"
}
Response 200
{
"status": "success",
"message": "This service has been started.",
"stop": {
"status": "success",
"message": "This service has been stopped."
},
"endPoint": "aries-production-59c48bc84-hpqw4"
}
Get server console
Reads recent console lines for a game service.
https://api.creeper.host/{daemon}/readconsoleUse the installed service name in the first path segment, for example mc, unturned, ark, or valheim.
Headers
Content-Type: application/json
key: {api-key}
secret: {api-secret}Request body
{
"lines": 50,
"format": true,
"type": "normal",
"instance": "ut-5902260d6b88e"
}
Response 200
{
"status": "success",
"log": "<formatted console output>",
"count": 50,
"raw": [
[
"Apr 28 00:03:00 Loading level: 100%"
]
],
"endPoint": "aries-production-59c48bc84-hpqw4"
}
Send command to console
Writes a command to a game service console.
https://api.creeper.host/{daemon}/writeconsoleUse the installed service name in the first path segment, for example mc, unturned, ark, or valheim.
Headers
Content-Type: application/json
key: {api-key}
secret: {api-secret}Request body
{
"command": "Command to send",
"instance": "ut-5902260d6b88e"
}
Response 200
{
"status": "success",
"command": "Command to send",
"message": null,
"endPoint": "aries-production-59c48bc84-hpqw4"
}
Get player list
Lists players for a game service.
https://api.creeper.host/{daemon}/playersUse the installed service name in the first path segment, for example mc, unturned, ark, or valheim.
Headers
Content-Type: application/json
key: {api-key}
secret: {api-secret}Request body
{
"instance": "mc-59026a225dc14"
}
Response 200
{
"status": "success",
"method": "logScrape",
"players": [],
"endPoint": "aries-production-59c48bc84-hpqw4"
}