Dev Space
DemoGitHubDiscord Server
  • 🏠Dev Space
  • 💡Features
  • 📄Changelogs
  • â„šī¸Credits
  • Guides
    • 🌐Website Guides
      • Install Dev Space Website
    • ⚡Agent Guides
      • Install Dev Space Agent
  • MongoDB Guides
    • MongoDB Admin
  • What is docker?
  • Accounts
    • 🙂Profile
  • Teams
    • đŸ˜ī¸Teams
    • 🔒Permissions
    • 🤖API
      • Client
      • Console
      • Docker
      • Roles
      • Members
      • Servers
      • Users
      • Models
  • Team Resources
    • đŸ–Ĩī¸Servers
    • 🎮Consoles
Powered by GitBook
On this page
  1. Teams
  2. API

Console

PreviousClientNextDocker

Manage game servers for minecraft and battleye games.

🤖

Get a list of consoles.

get

Requires View Console permission.

Authorizations
Query parameters
showIpbooleanOptionalDefault: false
Responses
200
Success
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
get
GET /api/consoles HTTP/1.1
Host: devspace.fluxpoint.dev
Authorization: YOUR_API_KEY
Accept: */*
{
  "success": true,
  "code": 1,
  "message": "text",
  "data": [
    {
      "port": 1,
      "type": 0,
      "is_online": true,
      "created_at": "2025-05-12T18:24:15.287Z",
      "ip": "text"
    }
  ]
}

Get a console.

get

Requires View Console permission.

Authorizations
Path parameters
consoleIdstringRequiredDefault: ""
Query parameters
showIpbooleanOptionalDefault: false
Responses
200
Success
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
get
GET /api/consoles/{consoleId} HTTP/1.1
Host: devspace.fluxpoint.dev
Authorization: YOUR_API_KEY
Accept: */*
{
  "success": true,
  "code": 1,
  "message": "text",
  "data": {
    "port": 1,
    "type": 0,
    "is_online": true,
    "created_at": "2025-05-12T18:24:15.287Z",
    "ip": "text"
  }
}

Get a list of player names on the server.

get

Requires View Console and View Players permissions.

Authorizations
Path parameters
consoleIdstringRequiredDefault: ""
Responses
200
Success
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
get
GET /api/consoles/{consoleId}/server/players HTTP/1.1
Host: devspace.fluxpoint.dev
Authorization: YOUR_API_KEY
Accept: */*
{
  "success": true,
  "code": 1,
  "message": "text",
  "data": [
    "text"
  ]
}

Get a list of battleye players on the server.

get

Requires View Console and View Players permissions.

Authorizations
Path parameters
consoleIdstringRequiredDefault: ""
Responses
200
Success
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
get
GET /api/consoles/{consoleId}/battleye/players HTTP/1.1
Host: devspace.fluxpoint.dev
Authorization: YOUR_API_KEY
Accept: */*
{
  "success": true,
  "code": 1,
  "message": "text",
  "data": [
    {
      "number": 1,
      "ip": "text",
      "ping": "text",
      "guid": "text",
      "name": "text",
      "status": "text",
      "location": "text",
      "comment": "text"
    }
  ]
}

Control the server.

post

Requires View Console and Control Console permissions.

Authorizations
Path parameters
consoleIdstringRequiredDefault: ""
Query parameters
typestringRequired
Responses
200
Success
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
post
POST /api/consoles/{consoleId}/server/control HTTP/1.1
Host: devspace.fluxpoint.dev
Authorization: YOUR_API_KEY
Accept: */*
{
  "success": true,
  "code": 1,
  "message": "text"
}

Get a list of rcon connections.

get

Requires View Console and View Connections permissions.

Authorizations
Path parameters
consoleIdstringRequiredDefault: ""
Responses
200
Success
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
get
GET /api/consoles/{consoleId}/battleye/connections HTTP/1.1
Host: devspace.fluxpoint.dev
Authorization: YOUR_API_KEY
Accept: */*
{
  "success": true,
  "code": 1,
  "message": "text",
  "data": [
    {
      "id": 1,
      "ip": "text"
    }
  ]
}
  • GETGet a list of consoles.
  • GETGet a console.
  • GETGet a list of player names on the server.
  • GETGet a list of battleye players on the server.
  • POSTExecute a command on the server.
  • POSTSend a global message.
  • POSTSend a message to a player.
  • PUTKick a player on the server.
  • PUTBan a player on the server.
  • POSTControl the server.
  • GETGet a list of rcon connections.

Execute a command on the server.

post

Requires View Console permission and Use Console Commandss.

Authorizations
Path parameters
consoleIdstringRequiredDefault: ""
Body
commandstringOptional
Responses
200
Success
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
post
POST /api/consoles/{consoleId}/server/command HTTP/1.1
Host: devspace.fluxpoint.dev
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 18

{
  "command": "text"
}
{
  "success": true,
  "code": 1,
  "message": "text",
  "data": "text"
}

Send a global message.

post

Requires View Console and Message Global permissions.

Authorizations
Path parameters
consoleIdstringRequiredDefault: ""
Body
messagestringOptional
Responses
200
Success
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
post
POST /api/consoles/{consoleId}/message/global HTTP/1.1
Host: devspace.fluxpoint.dev
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 18

{
  "message": "text"
}
{
  "success": true,
  "code": 1,
  "message": "text"
}

Send a message to a player.

post

Requires View Console and Message Players permissions.

Authorizations
Path parameters
consoleIdstringRequiredDefault: ""
Body
playerstringOptional
messagestringOptional
Responses
200
Success
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
post
POST /api/consoles/{consoleId}/message/player HTTP/1.1
Host: devspace.fluxpoint.dev
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 34

{
  "player": "text",
  "message": "text"
}
{
  "success": true,
  "code": 1,
  "message": "text"
}

Kick a player on the server.

put

Requires View Console and Kick Players permissions.

Authorizations
Path parameters
consoleIdstringRequiredDefault: ""
Body
playerstringOptional
reasonstringOptional
Responses
200
Success
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
put
PUT /api/consoles/{consoleId}/players/kick HTTP/1.1
Host: devspace.fluxpoint.dev
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 33

{
  "player": "text",
  "reason": "text"
}
{
  "success": true,
  "code": 1,
  "message": "text"
}

Ban a player on the server.

put

Requires View Console and Ban Players permissions.

Authorizations
Path parameters
consoleIdstringRequiredDefault: ""
Body
playerstringOptional
reasonstringOptional
Responses
200
Success
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
put
PUT /api/consoles/{consoleId}/players/ban HTTP/1.1
Host: devspace.fluxpoint.dev
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 33

{
  "player": "text",
  "reason": "text"
}
{
  "success": true,
  "code": 1,
  "message": "text"
}