/v1/stop- shutdown the server/v1/status- return the status of the current services as a JSON formatted string/v1/status_view- return the status of the current services as an HTML table (human readable)/v1/reserve/{servicename}?option1=value1&option2=value2- reserve a service with the specified options/v1/release/{token}- release a reserved or active token
REST API
Websocketserver includes a REST API that allows an external application (ADR) to stop the
server, reserve a session and view the core status of the services layer. If the incoming GET pathname
starts with /v1/, then the GET request is interpreted as being a REST API call. The current
API is implemented using REST GET operations on the websocketserver HTML server port
(—http_port). Note that —http_directory must be specified for the HTML server to be enabled.
The API namespace is currently defined as:
Was this page helpful?