1
1
mirror of https://github.com/pterodactyl/panel.git synced 2025-01-31 19:01:35 +01:00
1
API: Location Management
Dane Everitt edited this page 2016-01-15 23:31:54 -05:00

Location Management

GET /locations

Returns a listing of all locations currently available on the system as well as associated nodes.

Responses

HTTP/200 — includes all available locations and associated nodes.

{
  "locations": [
    {
      "id": 1,
      "short": "lo",
      "long": "Local Vagrant Box",
      "created_at": "2016-01-12 03:38:28",
      "updated_at": "2016-01-12 03:38:28",
      "nodes": [
        "1",
        "3"
      ]
    }
  ]
}