Skip to main content

getinitdata

Once the API has been initialized, clients can request the initial state of the system to populate themselves on first load.

Send getinitdata all to get everything at once, request a single data set (e.g. getinitdata configs), or combine several with commas (e.g. getinitdata configs,firmware,wall).

Command TypeDisplayNet
Minimum Version3.6.x

Usage

getinitdata all
getinitdata <dataset>[,<dataset>...]

Datasets

DatasetReturns
allAll of the datasets below at once. Cannot be combined with others
configsConfiguration data
devicetagsTags assigned to devices, walls, or multiview configurations
edidStored EDID Library data
firmwareFirmware update files available
firmware_detailsFirmware details: supported devices, component versions
layoutList of multiview layouts
layout_descriptionsMultiview layout descriptions
mtvMultiview configurations
presetsPreset items available (scripts and snapshots)
productdefinitionsInternal device model product definitions
streamAny H26x stream data available
tagsAll tags currently defined
taggroupsAll tag groups currently defined, and their contents
usbUSB 2.0 pairings
userdataUser-specific stored data for the currently logged-in user
wallAll walls and any associated assignments

A dataset with nothing to report returns only init_commands, with no payload key. An unrecognised name fails the whole command, and the error message lists the valid names.

Examples

Fetch the full initial state
getinitdata all
Fetch selected datasets
getinitdata configs,firmware,wall

Return value

getinitdata configs
{
"status": "SUCCESS",
"init_data": true,
"request_id": null,
"result": {
"init_commands": [
"CONFIGS"
],
"configurations": [
{
"scope": "DisplayNet.Domain",
"configkey": "app",
"keyname": "dev.DefaultDisplayMode",
"value": "fastswitch"
},
{
"scope": "DisplayNet.Domain",
"configkey": "app",
"keyname": "dev.DefaultResolution",
"value": "native"
},
{
"scope": "DisplayNet.Domain",
"configkey": "app",
"keyname": "ovl.BackgroundColor",
"value": "000000"
},
{
"scope": "DisplayNet.Device",
"configkey": "e23039a4c431",
"keyname": "dev.DeviceIcon",
"value": "MONITOR_DARK"
},
{
"scope": "DisplayNet.User",
"configkey": "displaynet",
"keyname": "user.LockRoutes",
"value": "false"
},
{
"scope": "DisplayNet.Server",
"configkey": "server",
"keyname": "authentication_required",
"value": "false"
}
]
},
"error": null
}

REST API

Endpoint typeDisplayNet API command
AddressPOST /api/displaynet/<operation>, or name the operation in the body of a POST /api/displaynet. See Sending commands.
RoleUser
OperationParameters
getinitdatadatasets

See also

  • query: for device state, which getinitdata does not carry
  • config: the settings behind the configs dataset