PacificES Cloud API





This API enables developers to integrate their services and products into our infrastructure to automate the creation and management of cloud servers. We have designed the API to follow the RESTful guidelines, which allows you to send HTTP requests to interact with the API.

Authentication

Authentication with the API is done through the use of an Authorization header that is sent with the request. The Authorization header paired with an API key that can be retrieved from within your Account will successfully authenticate and allow you to interact with the API. The API key is a randomly generated string of 64 characters in length.

Example

Below is an example of a request that uses the Authorization header. Note the API key after the header.

GET /v2/servers
    HOST: api.pacifices.cloud
    Authorization: nhqPAgr1Y1kD6Fu1GJEwsFIJAgV44Q3YQekXDrFHEM2Kw1CTz4pgFy7xz26fFJKO
    Content-Type: application/json

Servers

Servers

GET https://api.pacifices.cloud/v2/servers?status=running&name=Example Server&version=1.35.6.6
Requestsexample 1
Headers
Authorization: nhqPAgr1Y1kD6Fu1GJEwsFIJAgV44Q3YQekXDrFHEM2Kw1CTz4pgFy7xz26fFJKO
Responses200
Headers
Content-Type: application/json
Body
{
  "success": true,
  "error": false,
  "result": [
    {
      "id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
      "name": "Example Server",
      "game_id": "csgo",
      "cost": 95,
      "created": 1689243025,
      "node": {
        "id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
        "ip": "1.2.3.4",
        "location": {
          "city": "Sydney",
          "code": "au",
          "country": "Australia"
        },
        "version": {
          "expiry": 1689243305,
          "retrieved": 1689242405,
          "version": "1.38.7.9"
        }
      },
      "admins": [],
      "charge_period": "daily",
      "hourly_rate": 95,
      "last_running": null,
      "maximum_rate": 2495,
      "owner": "76561198000000000",
      "started": 1689243025,
      "status": "running",
      "version": "1.38.7.9",
      "network": {
        "ports": {
          "client": 35341,
          "game": 36459,
          "gotv": 40601,
          "infuse": 44407,
          "steam": 44201
        }
      },
      "auth_key": "XXXXXXX",
      "auto_destroy": null,
      "branding": null,
      "game_config": {
        "mods": [],
        "first_config": "",
        "plugins": [
          "warmod"
        ],
        "disable_default_mods": false,
        "disable_default_plugins": false,
        "zip_url": "",
        "eac": {
          "enabled": false
        },
        "infuse_entrance_fee": null,
        "infuse_max_rounds": null,
        "infuse_max_players": null,
        "infuse_map_time": null,
        "infuse_manual_teams": null,
        "infuse_dm_teams": null,
        "infuse_min_minutes_played": null,
        "infuse_kill_amount_type": null,
        "infuse_kill_fixed_amt": null,
        "infuse_kill_percent_amt": null,
        "tickrate": 128,
        "password": true,
        "password_value": "HjQTwahYrRHeUxRFdiDd",
        "rcon": "W4h76Mx3kvDFD5hWU5q7",
        "game_mode": 1,
        "game_type": 0,
        "git_url": "",
        "map": {
          "group": "mg_active",
          "id": "de_inferno",
          "name": "de_inferno",
          "type": "default"
        },
        "vac": true
      }
    }
  ]
}

List all servers
GET/v2/servers{?status,name,version}

Lists all servers in your account. By default returns all servers regardless of their status. Use the ?status=running to only get the running servers.

URI Parameters
HideShow
status
string (optional) Example: running

Status of a server.

name
string (optional) Example: Example Server

Name of a server.

version
string (optional) Example: 1.35.6.6

The server version.


POST https://api.pacifices.cloud/v2/servers
Requestsexample 1
Headers
Content-Type: application/json
Authorization: nhqPAgr1Y1kD6Fu1GJEwsFIJAgV44Q3YQekXDrFHEM2Kw1CTz4pgFy7xz26fFJKO
Body
{
  "name":"Example Server",
  "game_id":"csgo",
  "location":{
    "city":"Sydney"
  },
  "auto_destroy":null,
  "game_token":null,
  "game_config":{
    "first_config":null,
    "gamemode":"competitive",
    "mods":[

    ],
    "plugins":[
      "warmod"
    ],
    "rcon":"36MKKSiHYrnQGIgDZT2B",
    "tickrate":128,
    "map":{
      "type":"default",
      "id":"de_inferno",
      "group":"mg_active"
    },
    "vac":true,
    "password":{
      "enabled":true,
      "value":"1c3zClvKw2t6VAaG4k8X"
    },
    "zip_url":null,
  }
}
Responses200
Headers
Content-Type: application/json
Body
{
  "success": true,
  "error": false,
  "result": {
    "id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
  }
}

Create a new server
POST/v2/servers

Create a new server. This also starts the server after successfully creating the server. If there is an error validating the server payload that you have provided, the API will return an array of errors.

You must provide a game id via the game_id field. The config will then be validated against that game.

Config specific to the game must be specified in the game_config field.


Server Actions

GET https://api.pacifices.cloud/v2/servers/id
Requestsexample 1
Headers
Authorization: nhqPAgr1Y1kD6Fu1GJEwsFIJAgV44Q3YQekXDrFHEM2Kw1CTz4pgFy7xz26fFJKO
Responses200
Headers
Content-Type: application/json
Body
{
  "success": true,
  "error": false,
  "result": {
    "server": {
      "id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
      "name": "Example Server",
      "game_id": "csgo",
      "cost": 95,
      "created": 1689245807,
      "node": {
        "id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
        "ip": "1.2.3.4",
        "location": {
          "city": "Sydney",
          "code": "au",
          "country": "Australia"
        },
        "version": {
          "expiry": 1689246905,
          "retrieved": 1689246005,
          "version": "1.38.7.9"
        }
      },
      "admins": [],
      "charge_period": "daily",
      "hourly_rate": 95,
      "last_running": null,
      "maximum_rate": 2495,
      "owner": "76561198000000000",
      "started": 1689245807,
      "status": "running",
      "version": "1.38.7.9",
      "network": {
        "ports": {
          "client": 44085,
          "game": 41419,
          "gotv": 41837,
          "infuse": 36915,
          "steam": 35323
        }
      },
      "auth_key": "XXXXXXXXXX",
      "auto_destroy": null,
      "branding": null,
      "game_config": {
        "mods": [],
        "first_config": "",
        "plugins": [
          "warmod"
        ],
        "disable_default_mods": false,
        "disable_default_plugins": false,
        "zip_url": "",
        "eac": {
          "enabled": false
        },
        "infuse_entrance_fee": null,
        "infuse_max_rounds": null,
        "infuse_max_players": null,
        "infuse_map_time": null,
        "infuse_manual_teams": null,
        "infuse_dm_teams": null,
        "infuse_min_minutes_played": null,
        "infuse_kill_amount_type": null,
        "infuse_kill_fixed_amt": null,
        "infuse_kill_percent_amt": null,
        "tickrate": 64,
        "password": true,
        "password_value": "1c3zClvKw2t6VAaG4k8X",
        "rcon": "36MKKSiHYrnQGIgDZT2B",
        "game_mode": 1,
        "game_type": 0,
        "git_url": "",
        "map": {
          "group": "mg_active",
          "id": "de_inferno",
          "name": "de_inferno",
          "type": "default"
        },
        "vac": true
      }
    }
  }
}

Get a server
GET/v2/servers/{id}

Retrieve a server’s information.

URI Parameters
HideShow
id
string (required) 

Id of a server.


DELETE https://api.pacifices.cloud/v2/servers/id
Requestsexample 1
Headers
Authorization: nhqPAgr1Y1kD6Fu1GJEwsFIJAgV44Q3YQekXDrFHEM2Kw1CTz4pgFy7xz26fFJKO
Responses200
Headers
Content-Type: application/json
Body
{
  "success": true,
  "error": false,
  "result": null
}

Destroy a server
DELETE/v2/servers/{id}

Destroy a server.

URI Parameters
HideShow
id
string (required) 

Id of a server.


PUT https://api.pacifices.cloud/v2/servers/id
Requestsexample 1
Headers
Authorization: nhqPAgr1Y1kD6Fu1GJEwsFIJAgV44Q3YQekXDrFHEM2Kw1CTz4pgFy7xz26fFJKO
Body
{
  "name": "New name here",
  "game_config": {
    "gamemode": "deathmatch",
    "map": {
      "type": "default",
      "id": "de_dust2",
      "group": "mg_active"
    }
  }
}
Responses200
Headers
Content-Type: application/json
Body
{
  "success": true,
  "error": false,
  "result": null
}

Change a server's settings
PUT/v2/servers/{id}

Change a server’s settings. Also performs an update on the server to ensure the server settings are applied.

This endpoint uses the same payload that is used to create a server, but only requires that you send the values that you actually want to change on the server.

You must specify the game specific configuration in the game_config field.

The example below changes the name of the server, sets the map and changes the gamemode of a csgo server.

URI Parameters
HideShow
id
string (required) 

Id of a server.


Server Logs

GET https://api.pacifices.cloud/v2/servers/id/logs?format=json
Requestsexample 1
Headers
Authorization: nhqPAgr1Y1kD6Fu1GJEwsFIJAgV44Q3YQekXDrFHEM2Kw1CTz4pgFy7xz26fFJKO
Responses200
Headers
Content-Type: application/json
Body
{
  "success": true,
  "error": false,
  "result": {
    "logs": [
      {
        "log": "------------------ Configuring PacificES Cloud Server ------------------\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:50.811045869Z"
      },
      {
        "log": "Updating the panel with the server version...\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:50.815616412Z"
      },
      {
        "log": "Downloading latest Metamod, this may take some time...\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:50.825055261Z"
      },
      {
        "log": "Decompressing Metamod, this may take some time...\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:51.7167479Z"
      },
      {
        "log": "Downloading latest Sourcemod, this may take some time...\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:51.757377202Z"
      },
      {
        "log": "Decompressing Sourcemod, this may take some time...\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:52.507565063Z"
      },
      {
        "log": "Downloading latest csay, this may take some time...\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:52.753198171Z"
      },
      {
        "log": "Decompressing csay, this may take some time...\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:53.412945429Z"
      },
      {
        "log": "Setting sv_password to RGI9LJVUHXLGPH83WA6J...\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:53.465926548Z"
      },
      {
        "log": "Setting rcon_password to YSWSDE13NIV7N28W92DP...\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:53.465934893Z"
      },
      {
        "log": "Adding your steamid to Sourcemod admins...\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:53.467226255Z"
      },
      {
        "log": "Adding your configs to the /home/csgo/server/csgo/cfg/ folder...\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:53.538944482Z"
      },
      {
        "log": "Setting hostname...\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:53.540493742Z"
      },
      {
        "log": "Setting up GOTV...\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:53.541700793Z"
      },
      {
        "log": "Setting some performance variables...\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:53.542992562Z"
      },
      {
        "log": "Configuring warmod plugin...\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:53.580900388Z"
      },
      {
        "log": "-------------------- Starting PacificES Cloud Server -------------------\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:53.588745301Z"
      },
      {
        "log": "ip = XXX.XXX.XXX.XXX\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:53.588767542Z"
      },
      {
        "log": "name = Test Server\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:53.588771488Z"
      },
      {
        "log": "server_id = XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:53.588774133Z"
      },
      {
        "log": "owner = STEAM_0:1:XXXXXXXXX\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:53.588781925Z"
      },
      {
        "log": "game_type = 0\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:53.588789475Z"
      },
      {
        "log": "game_mode = 1\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:53.5888868Z"
      },
      {
        "log": "mapgroup = mg_active\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:53.588891996Z"
      },
      {
        "log": "map = de_cache\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:53.588894615Z"
      },
      {
        "log": "tickrate = 128\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:53.588906315Z"
      },
      {
        "log": "game_port = 45972\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:53.588909049Z"
      },
      {
        "log": "gotv_port = 35124\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:53.588967231Z"
      },
      {
        "log": "--------------------------------------------------------------------------\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:53.588972154Z"
      },
      {
        "log": "Server will auto-restart if there is a crash.\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:53.600162753Z"
      },
      {
        "log": "LD_LIBRARY_PATH=/home/csgo/server/bin:/home/csgo/server:/home/csgo/server/bin:\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:53.617958826Z"
      },
      {
        "log": "#\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:55.749507169Z"
      },
      {
        "log": "#Console initialized.\r\n",
        "stream": "stdout",
        "time": "2017-03-27T00:38:55.749520286Z"
      }
    ]
  }
}

Get server logs
GET/v2/servers/{id}/logs{?format}

Retrieve a server’s logs.

The format of the logs can be specified. ?format=json returns the logs in JSON format as the example. ?format=raw returns the logs in a basic, unstructured log format that you might find from a server console.

By default, JSON is used to format the response if no format is specified.

URI Parameters
HideShow
id
string (required) 

Id of a server.

format
string (optional) Example: json

Format to return the logs in. Options: json, raw


Server Player History

GET https://api.pacifices.cloud/v2/servers/id/player-history
Requestsexample 1
Headers
Authorization: nhqPAgr1Y1kD6Fu1GJEwsFIJAgV44Q3YQekXDrFHEM2Kw1CTz4pgFy7xz26fFJKO
Responses200
Headers
Content-Type: application/json
Body
{
  "success": true,
  "error": false,
  "result": [
    {
      "players": 10,
      "time": 1487674802
    },
    {
      "players": 10,
      "time": 1487675702
    },
    {
      "players": 10,
      "time": 1487676602
    },
    {
      "players": 0,
      "time": 1487677502
    },
    {
      "players": 0,
      "time": 1487678401
    }
  ]
}

Get server player history
GET/v2/servers/{id}/player-history

Get a history of the player count on the server.

URI Parameters
HideShow
id
string (required) 

Id of a server.


Server Player Count

GET https://api.pacifices.cloud/v2/servers/id/player-count
Requestsexample 1
Headers
Authorization: nhqPAgr1Y1kD6Fu1GJEwsFIJAgV44Q3YQekXDrFHEM2Kw1CTz4pgFy7xz26fFJKO
Responses200
Headers
Content-Type: application/json
Body
{
  "success": true,
  "error": false,
  "result": {
    "players": 10
  }
}

Get server player count
GET/v2/servers/{id}/player-count

Get the current count of players in the server

URI Parameters
HideShow
id
string (required) 

Id of a server.


Server Command

POST https://api.pacifices.cloud/v2/servers/id/command
Requestsexample 1
Headers
Authorization: nhqPAgr1Y1kD6Fu1GJEwsFIJAgV44Q3YQekXDrFHEM2Kw1CTz4pgFy7xz26fFJKO
Body
{
    "command": "map de_dust2",
}
Responses200
Headers
Content-Type: application/json
Body
{
    "success": true,
    "error": false,
    "result: null
}

Send server command
POST/v2/servers/{id}/command

Send a command to a server.

URI Parameters
HideShow
id
string (required) 

Id of a server.


Server Restart

POST https://api.pacifices.cloud/v2/servers/id/restart
Requestsexample 1
Headers
Authorization: nhqPAgr1Y1kD6Fu1GJEwsFIJAgV44Q3YQekXDrFHEM2Kw1CTz4pgFy7xz26fFJKO
Responses200
Headers
Content-Type: application/json
Body
{
    "success": true,
    "error": false,
    "result: null
}

Restart a server
POST/v2/servers/{id}/restart

Restart a server.

URI Parameters
HideShow
id
string (required) 

Id of a server.


Server Update

POST https://api.pacifices.cloud/v2/servers/id/update
Requestsexample 1
Headers
Authorization: nhqPAgr1Y1kD6Fu1GJEwsFIJAgV44Q3YQekXDrFHEM2Kw1CTz4pgFy7xz26fFJKO
Responses200
Headers
Content-Type: application/json
Body
{
    "success": true,
    "error": false,
    "result: null
}

Update a server
POST/v2/servers/{id}/update

Update a server.

URI Parameters
HideShow
id
string (required) 

Id of a server.


Server History

GET https://api.pacifices.cloud/v2/servers/id/history
Requestsexample 1
Headers
Authorization: nhqPAgr1Y1kD6Fu1GJEwsFIJAgV44Q3YQekXDrFHEM2Kw1CTz4pgFy7xz26fFJKO
Responses200
Headers
Content-Type: application/json
Body
{
  "success": true,
  "error": false,
  "result": [
    {
      "metadata": [],
      "time": 1487674297,
      "type": "create",
      "user": "76561198000000000"
    },
    {
      "metadata": [],
      "time": 1487674299,
      "type": "start",
      "user": "76561198000000000"
    },
    {
      "metadata": {
        "version": "1.35.6.8"
      },
      "time": 1487674299,
      "type": "set-version",
      "user": "system"
    }
  ]
}

Get server history
GET/v2/servers/{id}/history

Retrieve a server’s history.

URI Parameters
HideShow
id
string (required) 

Id of a server.


Locations

Locations

GET https://api.pacifices.cloud/v2/locations
Requestsexample 1
Headers
Authorization: nhqPAgr1Y1kD6Fu1GJEwsFIJAgV44Q3YQekXDrFHEM2Kw1CTz4pgFy7xz26fFJKO
Responses200
Headers
Content-Type: application/json
Body
{
  "success": true,
  "error": false,
  "result": [
    {
      "city": "Melbourne",
      "code": "au",
      "country": "Australia"
    },
    {
      "city": "Perth",
      "code": "au",
      "country": "Australia"
    },
    {
      "city": "Sydney",
      "code": "au",
      "country": "Australia"
    }
  ]
}

Get available locations
GET/v2/locations

Get all available locations where you can deploy a server.


Games

Games

GET https://api.pacifices.cloud/v2/games/game_id
Requestsexample 1
Headers
Authorization: nhqPAgr1Y1kD6Fu1GJEwsFIJAgV44Q3YQekXDrFHEM2Kw1CTz4pgFy7xz26fFJKO
Responses200
Headers
Content-Type: application/json
Body
{
  "success": true,
  "error": false,
  "result": {
    "config": {
      "tickrates": [
        64,
        128
      ],
      "gamemodes": {
        "competitive": {
          "name": "Competitive",
          "key": "competitive",
          "game_type": 0,
          "game_mode": 1
        },
        "casual": {
          "name": "Casual",
          "key": "casual",
          "game_type": 0,
          "game_mode": 0
        },
        "armsrace": {
          "name": "Arms Race",
          "key": "armsrace",
          "game_type": 1,
          "game_mode": 0
        },
        "demolition": {
          "name": "Demolition",
          "key": "demolition",
          "game_type": 1,
          "game_mode": 1
        },
        "deathmatch": {
          "name": "Deathmatch",
          "key": "deathmatch",
          "game_type": 1,
          "game_mode": 2
        },
        "dangerzone": {
          "name": "Danger Zone",
          "key": "dangerzone",
          "game_type": 6,
          "game_mode": 0
        }
      },
      "mapgroups": {
        "mg_active": {
          "name": "Active Duty",
          "key": "mg_active",
          "maps": {
            "de_mirage": {
              "name": "Mirage",
              "key": "de_mirage"
            },
            "de_inferno": {
              "name": "Inferno",
              "key": "de_inferno"
            },
            "de_overpass": {
              "name": "Overpass",
              "key": "de_overpass"
            },
            "de_vertigo": {
              "name": "Vertigo",
              "key": "de_vertigo"
            },
            "de_nuke": {
              "name": "Nuke",
              "key": "de_nuke"
            },
            "de_ancient": {
              "name": "Ancient",
              "key": "de_ancient"
            },
            "de_dust2": {
              "name": "Dust 2",
              "key": "de_dust2"
            },
            "de_train": {
              "name": "Train",
              "key": "de_train"
            }
          }
        },
        "mg_casualdelta": {
          "name": "Defusal Group Delta",
          "key": "mg_casualdelta",
          "maps": {
            "de_mirage": {
              "name": "Mirage",
              "key": "de_mirage"
            },
            "de_inferno": {
              "name": "Inferno",
              "key": "de_inferno"
            },
            "de_overpass": {
              "name": "Overpass",
              "key": "de_overpass"
            },
            "de_nuke": {
              "name": "Nuke",
              "key": "de_nuke"
            },
            "de_train": {
              "name": "Train",
              "key": "de_train"
            },
            "de_cache": {
              "name": "Cache",
              "key": "de_cache"
            }
          }
        },
        "mg_casualsigma": {
          "name": "Defusal Group Sigma",
          "key": "mg_casualsigma",
          "maps": {
            "de_grind": {
              "name": "Grind",
              "key": "de_grind"
            },
            "de_mocha": {
              "name": "Mocha",
              "key": "de_mocha"
            },
            "de_ancient": {
              "name": "Ancient",
              "key": "de_ancient"
            },
            "de_vertigo": {
              "name": "Vertigo",
              "key": "de_vertigo"
            },
            "de_cbble": {
              "name": "Cobblestone",
              "key": "de_cbble"
            },
            "de_canals": {
              "name": "Canals",
              "key": "de_canals"
            }
          }
        },
        "mg_reserves": {
          "name": "Reserves",
          "key": "mg_reserves",
          "maps": {
            "de_canals": {
              "name": "Canals",
              "key": "de_canals"
            },
            "de_aztec": {
              "name": "Aztec",
              "key": "de_aztec"
            },
            "de_dust": {
              "name": "Dust",
              "key": "de_dust"
            },
            "de_cache": {
              "name": "Cache",
              "key": "de_cache"
            },
            "de_train": {
              "name": "Train",
              "key": "de_train"
            },
            "cs_agency": {
              "name": "Agency",
              "key": "cs_agency"
            },
            "cs_office": {
              "name": "Office",
              "key": "cs_office"
            }
          }
        },
        "mg_hostage": {
          "name": "Hostage",
          "key": "mg_hostage",
          "maps": {
            "cs_agency": {
              "name": "Agency",
              "key": "cs_agency"
            },
            "cs_militia": {
              "name": "Militia",
              "key": "cs_militia"
            },
            "cs_office": {
              "name": "Office",
              "key": "cs_office"
            },
            "cs_italy": {
              "name": "Italy",
              "key": "cs_italy"
            },
            "cs_assault": {
              "name": "Assault",
              "key": "cs_assault"
            }
          }
        },
        "mg_deathmatch": {
          "name": "Deathmatch",
          "key": "mg_deathmatch",
          "maps": {
            "de_dust2": {
              "name": "Dust 2",
              "key": "de_dust2"
            },
            "de_inferno": {
              "name": "Inferno",
              "key": "de_inferno"
            },
            "de_mirage": {
              "name": "Mirage",
              "key": "de_mirage"
            },
            "de_cbble": {
              "name": "Cobblestone",
              "key": "de_cbble"
            },
            "de_overpass": {
              "name": "Overpass",
              "key": "de_overpass"
            },
            "de_dust": {
              "name": "Dust",
              "key": "de_dust"
            },
            "de_aztec": {
              "name": "Aztec",
              "key": "de_aztec"
            },
            "de_nuke": {
              "name": "Nuke",
              "key": "de_nuke"
            },
            "de_vertigo": {
              "name": "Vertigo",
              "key": "de_vertigo"
            },
            "cs_militia": {
              "name": "Militia",
              "key": "cs_militia"
            },
            "cs_assault": {
              "name": "Assault",
              "key": "cs_assault"
            },
            "cs_office": {
              "name": "Office",
              "key": "cs_office"
            },
            "cs_italy": {
              "name": "Italy",
              "key": "cs_italy"
            },
            "de_lake": {
              "name": "Lake",
              "key": "de_lake"
            },
            "de_stmarc": {
              "name": "St. Marc",
              "key": "de_stmarc"
            },
            "de_sugarcane": {
              "name": "Sugarcane",
              "key": "de_sugarcane"
            },
            "de_bank": {
              "name": "Bank",
              "key": "de_bank"
            },
            "de_safehouse": {
              "name": "Safehouse",
              "key": "de_safehouse"
            },
            "de_shortdust": {
              "name": "Shortdust",
              "key": "de_shortdust"
            },
            "ar_shoots": {
              "name": "Shoots",
              "key": "ar_shoots"
            },
            "ar_baggage": {
              "name": "Baggage",
              "key": "ar_baggage"
            },
            "ar_monastery": {
              "name": "Monastery",
              "key": "ar_monastery"
            }
          }
        },
        "mg_armsrace": {
          "name": "Arms Race",
          "key": "mg_armsrace",
          "maps": {
            "de_lake": {
              "name": "Lake",
              "key": "de_lake"
            },
            "de_stmarc": {
              "name": "St. Marc",
              "key": "de_stmarc"
            },
            "de_safehouse": {
              "name": "Safehouse",
              "key": "de_safehouse"
            },
            "ar_shoots": {
              "name": "Shoots",
              "key": "ar_shoots"
            },
            "ar_baggage": {
              "name": "Baggage",
              "key": "ar_baggage"
            },
            "ar_lunacy": {
              "name": "Lunacy",
              "key": "ar_lunacy"
            },
            "ar_monastery": {
              "name": "Monastery",
              "key": "ar_monastery"
            }
          }
        },
        "mg_demolition": {
          "name": "Demolition",
          "key": "mg_demolition",
          "maps": {
            "de_lake": {
              "name": "Lake",
              "key": "de_lake"
            },
            "de_stmarc": {
              "name": "St. Marc",
              "key": "de_stmarc"
            },
            "de_sugarcane": {
              "name": "Sugarcane",
              "key": "de_sugarcane"
            },
            "de_bank": {
              "name": "Bank",
              "key": "de_bank"
            },
            "de_safehouse": {
              "name": "Safehouse",
              "key": "de_safehouse"
            },
            "de_shortdust": {
              "name": "Shortdust",
              "key": "de_shortdust"
            }
          }
        },
        "mg_skirmish_flyingscoutsman": {
          "name": "The Flying Scoutsman",
          "key": "mg_skirmish_flyingscoutsman",
          "maps": {
            "de_lake": {
              "name": "Lake",
              "key": "de_lake"
            },
            "de_safehouse": {
              "name": "Safehouse",
              "key": "de_safehouse"
            },
            "ar_dizzy": {
              "name": "Dizzy",
              "key": "ar_dizzy"
            },
            "ar_lunacy": {
              "name": "Lunacy",
              "key": "ar_lunacy"
            },
            "ar_shoots": {
              "name": "Shoots",
              "key": "ar_shoots"
            }
          }
        },
        "mg_dust247": {
          "name": "Dust 24/7",
          "key": "mg_dust247",
          "maps": {
            "de_dust2": {
              "name": "Dust 2",
              "key": "de_dust2"
            }
          }
        },
        "community": {
          "name": "Community Maps",
          "key": "community",
          "maps": {
            "aim_map": {
              "name": "aim_map",
              "key": "aim_map"
            },
            "awp_india": {
              "name": "awp_india",
              "key": "awp_india"
            },
            "aim_map_usp": {
              "name": "aim_map_usp",
              "key": "aim_map_usp"
            }
          }
        }
      },
      "mods": {
        "retakes": {
          "key": "retakes",
          "name": "Retakes",
          "description": "CS:GO mod for a competitive mode called Retakes. The idea is that the T players spawn\n                 in a bombsite with the bomb, while the CT spawn on rotation routes and try to retake the site and \n                 defuse the bomb.",
          "link": "https://github.com/splewis/csgo-retakes"
        },
        "pugsetup": {
          "key": "pugsetup",
          "name": "Pugsetup",
          "description": "This is a useful plugin for managing pug games, especially 10 mans/gathers. It allows \n                a player to type .setup into chat and configure the match.",
          "link": "https://github.com/splewis/csgo-pug-setup"
        },
        "multi-1v1": {
          "key": "multi-1v1",
          "name": "Multi-1v1",
          "description": "This mod sets up any number of players in 1v1-situations on specially made maps and \n                they fight in a ladder-type system. The winners move up, the losers go down.",
          "link": "https://github.com/splewis/csgo-multi-1v1"
        },
        "practice-mode": {
          "key": "practice-mode",
          "name": "Practice Mode",
          "description": "Practice Mode is a sourcemod plugin for helping players/teams run practices. \n                It was formerly a part of PugSetup but has since been made into a separate project.",
          "link": "https://github.com/splewis/csgo-practice-mode"
        }
      },
      "plugins": {
        "warmod": {
          "key": "warmod",
          "name": "Warmod",
          "description": "Warmod makes managing and running a competitive CS:GO match a breeze!",
          "subdescription": "Note: Warmod is required to record demos.",
          "link": "https://forums.alliedmods.net/showthread.php?t=225474"
        },
        "nadetails": {
          "key": "nadetails",
          "name": "NadeTails",
          "description": "Adds a trail behind projectiles to practice smokes and other grenades.",
          "subdescription": "",
          "link": "https://forums.alliedmods.net/showthread.php?t=240668"
        },
        "infuse_competitive": {
          "key": "infuse_competitive",
          "name": "ZBD Infuse Competetive Mode",
          "description": "Start a preconfigured competitive game with Zebedee Infuse",
          "subdescription": "Use ZBD infuse to earn Bitcoin while playing CS:GO!",
          "link": "https://zebedee.io/play/infuse"
        },
        "infuse_deathmatch": {
          "key": "infuse_deathmatch",
          "name": "ZBD Infuse Deathmatch Mode",
          "description": "Start a preconfigured deathmatch game with Zebedee Infuse",
          "subdescription": "Use ZBD infuse to earn Bitcoin while playing CS:GO!",
          "link": "https://zebedee.io/play/infuse"
        },
        "infuse_survival": {
          "key": "infuse_survival",
          "name": "ZBD Infuse Survival Mode",
          "description": "Start a preconfigured survival game with Zebedee Infuse",
          "subdescription": "Use ZBD infuse to earn Bitcoin while playing CS:GO!",
          "link": "https://zebedee.io/play/infuse"
        }
      }
    }
  }
}

Get a game's configuration options
GET/v2/games/{game_id}

Retrieve a game’s configuration options

URI Parameters
HideShow
game_id
string (required) 

Id of a game, e.g. csgo


Files

Files

GET https://api.pacifices.cloud/v2/files
Requestsexample 1
Headers
Authorization: nhqPAgr1Y1kD6Fu1GJEwsFIJAgV44Q3YQekXDrFHEM2Kw1CTz4pgFy7xz26fFJKO
Responses200
Headers
Content-Type: application/json
Body
{
  "success": true,
  "error": false,
  "result": [
    {
      "name": "_2017-03-26-xxxx-xxxx-xxxxx.log",
      "md5": "83558638e2c72548203af18cbe1d72b6",
      "size": 4096,
      "last_modified": 1490568494,
      "link": "https://cloudstrike.s3.amazonaws.com/demos/76561198000000000/_2017-03-26-xxxx-xxxx-xxxxx.log"
    },
    {
      "name": "_2017-03-26-xxxx-xxxx-xxxxx.dem",
      "md5": "ec6213cd2f991c7b99cdd0122e68126d",
      "size": 625086,
      "last_modified": 1490568494,
      "link": "https://cloudstrike.s3.amazonaws.com/demos/76561198000000000/_2017-03-26-xxxx-xxxx-xxxxx.dem"
    },
    {
      "name": "_2017-03-26-xxxx-xxxx-xxxxx.dem",
      "md5": "e93412b0cb5871187c45ed1ed6a06062",
      "size": 1028462,
      "last_modified": 1490568469,
      "link": "https://cloudstrike.s3.amazonaws.com/demos/76561198000000000/_2017-03-26-xxxx-xxxx-xxxxx.dem"
    },
    {
      "name": "_2017-03-xxxx-xxxx-xxxxx.log",
      "md5": "552f7437fa0e28739a4eaf86525ca2a3",
      "size": 668,
      "last_modified": 1490568469,
      "link": "https://cloudstrike.s3.amazonaws.com/demos/76561198000000000/_2017-03-26-xxxx-xxxx-xxxxx.log"
    },
    {
      "name": "2017-03-26-xxxx-xxxx-xxxxx.dem",
      "md5": "61c92589529a72bf9e33d804cf8ffcf4",
      "size": 2480835,
      "last_modified": 1490522196,
      "link": "https://cloudstrike.s3.amazonaws.com/demos/76561198000000000/2017-03-26-xxxx-xxxx-xxxxx.dem"
    },
    {
      "name": "_2017-03-26-xxxx-xxxx-xxxxx.log",
      "md5": "2afe5cebf5de1fbfc6a9f13653644a2f",
      "size": 14245,
      "last_modified": 1490522179,
      "link": "https://cloudstrike.s3.amazonaws.com/demos/76561198000000000/_2017-03-26-xxxx-xxxx-xxxxx.log"
    },
    {
      "name": "_2017-03-26-xxxx-xxxx-xxxxx.dem",
      "md5": "8ee514e8cbb23510d0845fd8937b9fc1",
      "size": 1214339,
      "last_modified": 1490521894,
      "link": "https://cloudstrike.s3.amazonaws.com/demos/76561198000000000/_2017-03-26-xxxx-xxxx-xxxxx.dem"
    },
    {
      "name": "_2017-03-26-xxxx-xxxx-xxxxx.log",
      "md5": "1ac81f511c2462cc8a3fba2ad6f57f9c",
      "size": 542,
      "last_modified": 1490521894,
      "link": "https://cloudstrike.s3.amazonaws.com/demos/76561198000000000/_2017-03-26-xxxx-xxxx-xxxxx.log"
    }
  ]
}

Get available files
GET/v2/files

Get all available files.


Generated by aglio on 21 Apr 2024