v2

latestOpenAPI 3.0.02026-08-0688139156.5 KB
Restores (Virtual Machine)

List virtual machines

get/v1/restore/virt

Query parameters

offsetinteger

Starting index for pagination

limitinteger

Number of items to return for pagination

sort_by'created'

Sort by a specific field

sort_ascboolean

Sort in ascending order

created_afterstring date-time

Filter results to after a specific creation timestamp (RFC3339 format)

created_beforestring date-time

Filter results to before a specific creation timestamp (RFC3339 format)

Response

OK

Example response

{
  "data": [
    {
      "agent_id": "a_0123456789ab",
      "cpu_count": 2,
      "created_at": "2024-08-23T01:25:08Z",
      "device_id": "d_0123456789ab",
      "disk_bus": "virtio",
      "expires_at": "2024-08-23T01:25:08Z",
      "memory_in_mb": 4096,
      "network_model": "virtio",
      "network_source": "net_012345",
      "network_type": "bridge",
      "purpose": "disaster",
      "snapshot_id": "s_0123456789ab",
      "state": "running",
      "virt_id": "virt_0123456789ab",
      "vnc": [
        {
          "host": "192.168.1.53",
          "port": 12345,
          "websocket_uri": "wss://example.com"
        }
      ]
    }
  ],
  "pagination": {
    "next_offset": 10
  }
}