Skip to content

Configuration

Anton Medviediev edited this page May 4, 2017 · 3 revisions

In DeviceHive, configuration options are stored in a separate table in the database. This configuration can be updated by editing fields in the database or with the following REST call:

PUT /configuration/{name}

DeviceHive provides the following configuration options:

Name Description Default value
allowNetworkAutoCreate Should a new network be created when no network is explicitly provided true
cassandra.rest.endpoint Cassandra endpoint location http://127.0.0.1:8080/cassandra
debugMode Whether Debug Mode should be enabled. Debug Mode increases the amount of logging output true
user.login.lastTimeout User session timeout (via REST) 1000
websocket.ping.timeout User session timeout (via Websockets) 120000

Unknown configuration options are ignored.

Clone this wiki locally