Application API

Nodes API

GET/api/application/nodes

Fetching Nodes

Query parameters

page
per_page
Max is 100.
filter[name]
filter[fqdn]
filter[location_id]
Request
GET/api/application/nodes
curl "https://panel.example.com/api/application/nodes" \
  -H "Authorization: Bearer <token>" \
  -H "Accept: application/json"
Response
{
  "data": [
    {
      "id": 4417,
      "location_id": 5340,
      "name": "us-southeast",
      "cluster": "us-southeast",
      "verify_tls": true,
      "fqdn": "us-southeast.performave.com",
      "port": 8006,
      "memory": 68719476736,
      "memory_overallocate": 0,
      "memory_allocated": 6442450944,
      "disk": 137438953472,
      "disk_overallocate": 0,
      "disk_allocated": 6442450944,
      "vm_storage": "local",
      "backup_storage": "local",
      "iso_storage": "local",
      "network": "vmbr0",
      "servers_count": 2
    },
    {
      "id": 4418,
      "location_id": 5341,
      "name": "quae",
      "verify_tls": true,
      "cluster": "proxmox",
      "fqdn": "error",
      "port": 8006,
      "memory": 68719476736,
      "memory_overallocate": 0,
      "memory_allocated": 2147483648,
      "disk": 137438953472,
      "disk_overallocate": 0,
      "disk_allocated": 21474836480,
      "vm_storage": "local",
      "backup_storage": "local",
      "iso_storage": "local",
      "network": "vmbr0",
      "servers_count": 1
    }
  ],
  "meta": {
    "pagination": {
      "total": 32,
      "count": 32,
      "per_page": 50,
      "current_page": 1,
      "total_pages": 1,
      "links": {}
    }
  }
}
  • page
  • per_page
    • max is 100
  • filter[name]
  • filter[fqdn]
  • filter[location_id]

Fetching a Node

GET /api/application/nodes/<node id>

JSON
{
  "data": {
    "id": 4417,
    "location_id": 5340,
    "name": "us-southeast",
    "cluster": "us-southeast",
    "verify_tls": true,
    "fqdn": "us-southeast.performave.com",
    "port": 8006,
    "memory": 68719476736,
    "memory_overallocate": 0,
    "memory_allocated": 6442450944,
    "disk": 137438953472,
    "disk_overallocate": 0,
    "disk_allocated": 6442450944,
    "vm_storage": "local",
    "backup_storage": "local",
    "iso_storage": "local",
    "network": "vmbr0",
    "servers_count": 2
  }
}