{"name":"Relay Control API","version":"1.0.0","endpoints":{"health":{"method":"GET","url":"/api/health","desc":"Check service health"},"getAllRelays":{"method":"GET","url":"/api/relays","desc":"Get status of all relays"},"getRelay":{"method":"GET","url":"/api/relays/:index","desc":"Get status of a specific relay (0-7)"},"setRelay":{"method":"POST","url":"/api/relays/:index","desc":"Set a specific relay","body":{"status":"0 or 1"}},"toggleRelay":{"method":"PUT","url":"/api/relays/:index/toggle","desc":"Toggle a specific relay"},"setAllRelays":{"method":"POST","url":"/api/relays","desc":"Set all relays","body":{"keys":"8 chars of 0/1"}},"resetAllRelays":{"method":"DELETE","url":"/api/relays/reset","desc":"Turn off all relays"}}}