# API: VMmanager VM History

# vmManagerHistoryVM

VMmanager VM History

# Required parameters

Parameter Description
id Account Id

# Optional parameters

Parameter Description
page Page number to return

# Request

GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=vmManagerHistoryVM&id=ID

# PHP Samples

# Response

{
    "success": true,
    "history": {
        "last_notify": 247303,
        "list": [
            {
                "date_create": "2024-08-20 10:47:40",
                "id": 198,
                "name": "host_restart",
                "params": "",
                "state": "complete",
                "task": 401,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-08-20 10:46:55",
                "id": 197,
                "name": "host_stop",
                "params": "",
                "state": "complete",
                "task": 400,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-08-20 10:46:28",
                "id": 196,
                "name": "host_start",
                "params": "",
                "state": "complete",
                "task": 399,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-08-20 10:46:02",
                "id": 195,
                "name": "host_start",
                "params": "",
                "state": "complete",
                "task": 398,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-22 10:46:03",
                "id": 191,
                "name": "host_start",
                "params": "",
                "state": "complete",
                "task": 394,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-22 10:43:52",
                "id": 190,
                "name": "host_stop",
                "params": "",
                "state": "complete",
                "task": 393,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-22 10:43:35",
                "id": 189,
                "name": "host_start",
                "params": "",
                "state": "complete",
                "task": 392,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-22 10:43:06",
                "id": 188,
                "name": "host_stop",
                "params": "",
                "state": "complete",
                "task": 391,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-22 10:42:54",
                "id": 187,
                "name": "host_start",
                "params": "",
                "state": "complete",
                "task": 390,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-22 09:56:31",
                "id": 186,
                "name": "host_reinstall",
                "params": {
                    "new_os": "Ubuntu 18.04",
                    "old_os": "Ubuntu 20.04"
                },
                "state": "complete",
                "task": 389,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-22 09:56:17",
                "id": 185,
                "name": "host_change_params",
                "params": {
                    "firewall_rules": {
                        "new": 3,
                        "old": 2
                    }
                },
                "state": "complete",
                "task": 387,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-22 09:56:15",
                "id": 184,
                "name": "host_change_params",
                "params": {
                    "firewall_rules": {
                        "new": 3,
                        "old": 2
                    }
                },
                "state": "complete",
                "task": 386,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-22 09:56:13",
                "id": 183,
                "name": "host_change_params",
                "params": {
                    "firewall_rules": {
                        "new": 3,
                        "old": 2
                    }
                },
                "state": "complete",
                "task": 385,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-22 09:55:17",
                "id": 182,
                "name": "host_change_params",
                "params": {
                    "firewall_rules": {
                        "new": 2,
                        "old": 3
                    }
                },
                "state": "complete",
                "task": 384,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-03 14:06:31",
                "id": 180,
                "name": "ip_allocate",
                "params": {
                    "ip": [
                        "fd29:bfae:7d2b:fe06:2::\/80"
                    ]
                },
                "state": "complete",
                "task": 381,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-03 11:22:02",
                "id": 179,
                "name": "host_change_params",
                "params": {
                    "firewall_rules": {
                        "new": 3,
                        "old": 2
                    }
                },
                "state": "complete",
                "task": 380,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-03 11:20:43",
                "id": 178,
                "name": "host_change_params",
                "params": {
                    "firewall_rules": {
                        "new": 2,
                        "old": 3
                    }
                },
                "state": "complete",
                "task": 379,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-03 11:19:09",
                "id": 177,
                "name": "host_change_params",
                "params": {
                    "firewall_rules": {
                        "new": 3,
                        "old": 4
                    }
                },
                "state": "complete",
                "task": 378,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-03 11:18:34",
                "id": 176,
                "name": "host_change_params",
                "params": {
                    "firewall_rules": {
                        "new": 4,
                        "old": 3
                    }
                },
                "state": "complete",
                "task": 377,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-03 11:11:58",
                "id": 175,
                "name": "host_change_params",
                "params": {
                    "firewall_rules": {
                        "new": 3,
                        "old": 4
                    }
                },
                "state": "complete",
                "task": 376,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-03 11:11:38",
                "id": 174,
                "name": "host_change_params",
                "params": {
                    "firewall_rules": {
                        "new": 4,
                        "old": 3
                    }
                },
                "state": "complete",
                "task": 375,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-03 11:10:17",
                "id": 173,
                "name": "host_change_params",
                "params": {
                    "firewall_rules": {
                        "new": 3,
                        "old": 2
                    }
                },
                "state": "complete",
                "task": 374,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-03 11:09:51",
                "id": 172,
                "name": "host_change_params",
                "params": {
                    "firewall_rules": {
                        "new": 2,
                        "old": 3
                    }
                },
                "state": "complete",
                "task": 373,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-03 11:08:57",
                "id": 171,
                "name": "host_change_params",
                "params": {
                    "firewall_rules": {
                        "new": 3,
                        "old": 4
                    }
                },
                "state": "complete",
                "task": 372,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-03 11:08:21",
                "id": 170,
                "name": "host_change_params",
                "params": {
                    "firewall_rules": {
                        "new": 4,
                        "old": 5
                    }
                },
                "state": "complete",
                "task": 371,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-03 10:05:25",
                "id": 169,
                "name": "host_change_params",
                "params": {
                    "firewall_rules": {
                        "new": 5,
                        "old": 4
                    }
                },
                "state": "complete",
                "task": 370,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-03 09:41:53",
                "id": 168,
                "name": "host_change_params",
                "params": {
                    "anti_spoofing": {
                        "new": false,
                        "old": false
                    },
                    "anti_spoofing_settings": {
                        "new": {
                            "vlan": false
                        },
                        "old": {
                            "vlan": false
                        }
                    },
                    "cpu_number": {
                        "new": 1,
                        "old": 1
                    },
                    "cpu_weight": {
                        "new": 1024,
                        "old": 1024
                    },
                    "firewall_rules": {
                        "new": 4,
                        "old": 4
                    },
                    "hot_plug": {
                        "new": true,
                        "old": true
                    },
                    "io_read_iops": {
                        "new": 0,
                        "old": 0
                    },
                    "io_read_mbitps": {
                        "new": 0,
                        "old": 0
                    },
                    "io_weight": {
                        "new": 500,
                        "old": 500
                    },
                    "io_write_iops": {
                        "new": 0,
                        "old": 0
                    },
                    "io_write_mbitps": {
                        "new": 0,
                        "old": 0
                    },
                    "net_in_mbitps": {
                        "new": 50,
                        "old": 50
                    },
                    "net_out_mbitps": {
                        "new": 50,
                        "old": 50
                    },
                    "ram_mib": {
                        "new": 2048,
                        "old": 2048
                    },
                    "tcp_connections_in": {
                        "new": 0,
                        "old": 0
                    },
                    "tcp_connections_out": {
                        "new": 0,
                        "old": 0
                    }
                },
                "state": "complete",
                "task": 369,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-03 08:29:17",
                "id": 167,
                "name": "host_change_params",
                "params": {
                    "anti_spoofing": {
                        "new": false,
                        "old": false
                    },
                    "anti_spoofing_settings": {
                        "new": {
                            "vlan": false
                        },
                        "old": {
                            "vlan": false
                        }
                    },
                    "cpu_number": {
                        "new": 1,
                        "old": 1
                    },
                    "cpu_weight": {
                        "new": 1024,
                        "old": 1024
                    },
                    "firewall_rules": {
                        "new": 4,
                        "old": 3
                    },
                    "hot_plug": {
                        "new": true,
                        "old": true
                    },
                    "io_read_iops": {
                        "new": 0,
                        "old": 0
                    },
                    "io_read_mbitps": {
                        "new": 0,
                        "old": 0
                    },
                    "io_weight": {
                        "new": 500,
                        "old": 500
                    },
                    "io_write_iops": {
                        "new": 0,
                        "old": 0
                    },
                    "io_write_mbitps": {
                        "new": 0,
                        "old": 0
                    },
                    "net_in_mbitps": {
                        "new": 50,
                        "old": 50
                    },
                    "net_out_mbitps": {
                        "new": 50,
                        "old": 50
                    },
                    "ram_mib": {
                        "new": 2048,
                        "old": 2048
                    },
                    "tcp_connections_in": {
                        "new": 0,
                        "old": 0
                    },
                    "tcp_connections_out": {
                        "new": 0,
                        "old": 0
                    }
                },
                "state": "complete",
                "task": 368,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-03 08:28:38",
                "id": 166,
                "name": "host_change_params",
                "params": {
                    "anti_spoofing": {
                        "new": false,
                        "old": false
                    },
                    "anti_spoofing_settings": {
                        "new": {
                            "vlan": false
                        },
                        "old": {
                            "vlan": false
                        }
                    },
                    "cpu_number": {
                        "new": 1,
                        "old": 1
                    },
                    "cpu_weight": {
                        "new": 1024,
                        "old": 1024
                    },
                    "firewall_rules": {
                        "new": 3,
                        "old": 2
                    },
                    "hot_plug": {
                        "new": true,
                        "old": true
                    },
                    "io_read_iops": {
                        "new": 0,
                        "old": 0
                    },
                    "io_read_mbitps": {
                        "new": 0,
                        "old": 0
                    },
                    "io_weight": {
                        "new": 500,
                        "old": 500
                    },
                    "io_write_iops": {
                        "new": 0,
                        "old": 0
                    },
                    "io_write_mbitps": {
                        "new": 0,
                        "old": 0
                    },
                    "net_in_mbitps": {
                        "new": 50,
                        "old": 50
                    },
                    "net_out_mbitps": {
                        "new": 50,
                        "old": 50
                    },
                    "ram_mib": {
                        "new": 2048,
                        "old": 2048
                    },
                    "tcp_connections_in": {
                        "new": 0,
                        "old": 0
                    },
                    "tcp_connections_out": {
                        "new": 0,
                        "old": 0
                    }
                },
                "state": "complete",
                "task": 367,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-03 08:27:27",
                "id": 165,
                "name": "host_change_params",
                "params": {
                    "anti_spoofing": {
                        "new": false,
                        "old": false
                    },
                    "anti_spoofing_settings": {
                        "new": {
                            "vlan": false
                        },
                        "old": {
                            "vlan": false
                        }
                    },
                    "cpu_number": {
                        "new": 1,
                        "old": 1
                    },
                    "cpu_weight": {
                        "new": 1024,
                        "old": 1024
                    },
                    "firewall_rules": {
                        "new": 2,
                        "old": 1
                    },
                    "hot_plug": {
                        "new": true,
                        "old": true
                    },
                    "io_read_iops": {
                        "new": 0,
                        "old": 0
                    },
                    "io_read_mbitps": {
                        "new": 0,
                        "old": 0
                    },
                    "io_weight": {
                        "new": 500,
                        "old": 500
                    },
                    "io_write_iops": {
                        "new": 0,
                        "old": 0
                    },
                    "io_write_mbitps": {
                        "new": 0,
                        "old": 0
                    },
                    "net_in_mbitps": {
                        "new": 50,
                        "old": 50
                    },
                    "net_out_mbitps": {
                        "new": 50,
                        "old": 50
                    },
                    "ram_mib": {
                        "new": 2048,
                        "old": 2048
                    },
                    "tcp_connections_in": {
                        "new": 0,
                        "old": 0
                    },
                    "tcp_connections_out": {
                        "new": 0,
                        "old": 0
                    }
                },
                "state": "complete",
                "task": 366,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-03 07:48:23",
                "id": 164,
                "name": "host_change_params",
                "params": {
                    "anti_spoofing": {
                        "new": false,
                        "old": false
                    },
                    "anti_spoofing_settings": {
                        "new": {
                            "vlan": false
                        },
                        "old": {
                            "vlan": false
                        }
                    },
                    "cpu_number": {
                        "new": 1,
                        "old": 1
                    },
                    "cpu_weight": {
                        "new": 1024,
                        "old": 1024
                    },
                    "firewall_rules": {
                        "new": 1,
                        "old": 1
                    },
                    "hot_plug": {
                        "new": true,
                        "old": true
                    },
                    "io_read_iops": {
                        "new": 0,
                        "old": 0
                    },
                    "io_read_mbitps": {
                        "new": 0,
                        "old": 0
                    },
                    "io_weight": {
                        "new": 500,
                        "old": 500
                    },
                    "io_write_iops": {
                        "new": 0,
                        "old": 0
                    },
                    "io_write_mbitps": {
                        "new": 0,
                        "old": 0
                    },
                    "net_in_mbitps": {
                        "new": 50,
                        "old": 50
                    },
                    "net_out_mbitps": {
                        "new": 50,
                        "old": 50
                    },
                    "ram_mib": {
                        "new": 2048,
                        "old": 2048
                    },
                    "tcp_connections_in": {
                        "new": 0,
                        "old": 0
                    },
                    "tcp_connections_out": {
                        "new": 0,
                        "old": 0
                    }
                },
                "state": "complete",
                "task": 364,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-02 09:10:16",
                "id": 163,
                "name": "ip_automation",
                "params": {
                    "new": "none",
                    "old": "debian_based"
                },
                "state": "complete",
                "task": "",
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-02 08:45:32",
                "id": 162,
                "name": "host_reinstall",
                "params": {
                    "new_os": "Ubuntu 20.04",
                    "old_os": "Alma Linux 8"
                },
                "state": "complete",
                "task": 363,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-02 08:38:34",
                "id": 161,
                "name": "host_stop",
                "params": "",
                "state": "complete",
                "task": 361,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-02 08:28:25",
                "id": 160,
                "name": "host_reinstall",
                "params": {
                    "new_os": "Alma Linux 8",
                    "old_os": "Alma Linux 8"
                },
                "state": "complete",
                "task": 360,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-02 08:25:01",
                "id": 159,
                "name": "host_restart",
                "params": "",
                "state": "complete",
                "task": 359,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-02 08:16:28",
                "id": 158,
                "name": "host_reinstall",
                "params": {
                    "new_os": "Alma Linux 8",
                    "old_os": "Ubuntu 22.04"
                },
                "state": "complete",
                "task": 358,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-02 08:09:15",
                "id": 157,
                "name": "host_reinstall",
                "params": {
                    "new_os": "Ubuntu 22.04",
                    "old_os": "Alma Linux 8"
                },
                "state": "complete",
                "task": 357,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-01 13:31:30",
                "id": 156,
                "name": "host_stop",
                "params": "",
                "state": "complete",
                "task": 356,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-01 13:19:43",
                "id": 155,
                "name": "host_restart",
                "params": "",
                "state": "complete",
                "task": 355,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-01 13:19:30",
                "id": 154,
                "name": "host_stop",
                "params": "",
                "state": "complete",
                "task": 354,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-01 13:19:10",
                "id": 153,
                "name": "host_start",
                "params": "",
                "state": "complete",
                "task": 353,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-01 13:16:54",
                "id": 152,
                "name": "host_stop",
                "params": "",
                "state": "complete",
                "task": 352,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-01 13:16:42",
                "id": 151,
                "name": "host_stop",
                "params": "",
                "state": "complete",
                "task": 351,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-01 13:16:00",
                "id": 150,
                "name": "host_restart",
                "params": "",
                "state": "complete",
                "task": 350,
                "user": "localhost@localdomain"
            },
            {
                "date_create": "2024-07-01 08:34:30",
                "id": 149,
                "name": "host_create",
                "params": {
                    "cpu": 1,
                    "disk": 20480,
                    "ip": [
                        "185.0.0.2",
                        "185.0.0.3",
                        "185.0.0.4",
                        "185.0.0.5",
                        "185.0.0.6",
                        "185.0.0.7",
                        "185.0.0.8",
                        "185.0.0.9"
                    ],
                    "node": {
                        "addr": "122.118.2.2",
                        "id": 1,
                        "name": "01.demo.thg.hostbill.com"
                    },
                    "os": "Alma Linux 8",
                    "ram": 2048
                },
                "state": "complete",
                "task": 349,
                "user": "localhost@localdomain"
            }
        ],
        "max_id": 198,
        "size": 46,
        "all_pages": 1
    },
    "call": "vmManagerHistoryVM",
    "server_time": 1724152082
}
Last Updated: 10/3/2024, 9:29:20 AM