Set Game Servers
This endpoint allows you to set your community's server configurations.
Set Game Servers
POST https://api.sonorancms.com/servers/set_game_servers
Set Sonoran CMS community server configurations.
Request Body
Name
Type
Description
id
string
Community ID
key
string
API Key
type
string
GET_GAME_SERVERS
data
array
{
    "success": true,
    "data": [
        {
            "id": 1,
            "name": "Server 1",
            "description": "Default server description",
            "ip": "0.0.0.0"
            "port": "00000"
        }
    ]
}INVALID REQUEST TYPE
INVALID COMMUNITY ID{
    "id": "YOUR_COMMUNITY_ID",
    "key": "YOUR_API_KEY",
    "type": "SET_GAME_SERVERS",
    "data": [
        {
            "id": 1, // Optional - only supply if needing to update a server
            "name": "Server 1",
            "description": "This is server 1",
            "ip": "",
            "port": ""
        }
    ]
}Last updated
Was this helpful?

