Server Paths of API
200
400
401
403
404
406
409
This section also includes:
5.1 HTTP API of 2N® LiftGate 2
5.1 HTTP API for LiftGate 2
/cgi/battery.cgi
•
interface for maintenance of data about battery installation
•
can receive data about new battery installation in request body
•
always returns actual data about battery installation in response body
•
battery installation data format (json):
/cgi/battery.cgi
{
"Capacity": "9000",
"Date":
"2019\/7\/31"
"Expire": "n/a",
}
•
alternatively accepts http parameters "capacity" and "date" as data about new battery
installation
•
does not require nondefault password to be set
success
command error
unauthorized (login required)
password change required
command not allowed from HTTP API
weak password
current password for password change required
// [mAh] nominal capacity
// year/month/day
// number of days to expiration
2N® LiftGate User Manual
70 / 85