Skip to content

Latest commit

 

History

History
97 lines (80 loc) · 1.56 KB

FASTAPI.MD

File metadata and controls

97 lines (80 loc) · 1.56 KB

API Reference

Get Boottime

  GET /boottime/

Get Disk partition info

  GET /disks/partition

Get Disk usage info

  GET /disks/usage

Get Environment variables

  GET /environ/

Get ifconfig

  GET /ifconfig/

Get OS information

  GET /os-release/

Get all running Processes

  GET /ps/

Get Battery sensors

  GET /sensors/battery/

Get Fan sensors

  GET /sensors/fan/

Get Temperature sensors

  GET /sensors/temperature/

Post Scan IP

  POST /scan-ip/?start_ip=192.168.0.1&end_ip=192.168.0.254
Key Value Description
start_ip string start_ip is required.
end_ip string end_ip is required.

Post Scan port

  POST /scan-port/?hostname=example.com
Key Value Description
hostname string Hostname is required.

Get Speedtest

  GET /speed-test/

Post Traceroute

  POST /traceroute/?hostname=example.com
Key Value Description
hostname string Hostname is required.

Get users

  GET /users/

Get whoami

  GET /whoami/

logs

To view the logs for backend

$ tail -f backend/logs/app.log