C_RESTSTATUS#

code: 35

# get
C_RESTSTATUS ?

Description#

Gets the REST API server operation status - whether it is active (running) or not. To get the admin status (whether the server is enabled or disabled) use C_RESTCONTROL command.

Actions#

get

Parameters#

  1. status: byte, the operation status of th REST API server

  • SERVICE_OFF = 0

  • SERVICE_ON = 1

Example#

# get
input:  C_RESTSTATUS ?
output: C_RESTSTATUS SERVICE_OFF