State

Get this computer's addresses

GET/api/network
Open. Open to everyone who can reach Tempolight.

This computer's LAN addresses, for the phone QR code.

Responses

200OKapplication/json
addressesstring[]
Request
curl 'http://localhost:8080/api/network'
Response
{
  "addresses": [
    "192.168.1.20"
  ]
}
Edit on GitHub