server

Server control command.

Puts the Qizx engine online or offline. When offline, the Qizx engine does not lock its XML Libraries, so they can be opened by another tool such as QizxStudio.

In GET or if command="status", simply returns the online status.

Note that this operation has nothing to do with stopping the server (Servlet Container) or the web app containing the Qizx server.


HTTP Request: POST, GET

Parameters:

Name Value Description
command
  • "status" : check if the Qizx engine is running.
  • "online" : start the Qizx engine.
  • "offline" for stopping the Qizx engine.
  • "reload" for reloading configuration then going online.

Response:

   mime-type: text/plain

"online" if the server is up and running, "offline" otherwise.

 

Error codes:

AccessControl
if the user does not have the role allowing administration operations (except for 'status' which is allowed to all users).