Closed slayercat closed 4 years ago
Closes #47
New API: system_info
Example Request
curl \ -X GET \ --silent \ --insecure \ --header "fauxapi-auth: <auth-value>" \ "https://<host-address>/fauxapi/v1/?action=system_info"
Example Response
{ "callid": "5e1d8ceb8ff47", "action": "system_info", "message": "ok", "data": { "info": { "sys": { "platform": { "name": "VMware", "descr": "VMware Virtual Machine" }, "serial_no": "", "device_id": "719e8c91c2c43b820400" }, "pfsense_version": { "product_version_string": "2.4.5-DEVELOPMENT", "product_version": "2.4.5-DEVELOPMENT", "product_version_patch": "0" }, "pfsense_remote_version": { "version": "2.4.5.a.20200112.1821", "installed_version": "2.4.5.a.20191218.2354", "pkg_version_compare": "<" }, "os_verison": "FreeBSD 11.3-STABLE", "cpu_type": { "cpu_model": "Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz", "cpu_count": "4", "logic_cpu_count": "4 package(s)", "cpu_freq": "" }, "kernel_pti_status": "enabled", "mds_mitigation": "inactive", "bios": { "vendor": "Phoenix Technologies LTD", "version": "6.00", "date": "07/29/2019" } } } } Signed-off-by: lilinzhe <slayercat.subscription@gmail.com>
Nice addition!
Closes #47
New API: system_info
Example Request
Example Response