API Module

The HTTP API for HomeControl Currenty it supports following routes:

GET /api/ping

Ping the API

Example request:

GET /api/ping HTTP/ HTTP/1.1
Host: homecontrol.local:8080
Accept: application/json

Example response:

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8

{
   "data": "PONG",
   "status_code": 200,
   "success": true
}
Response Headers:
 
Status Codes:
  • 200 OK – HomeControl is online