Skip to main content

UI_settings

UI_Settings

This request and response can be used to store arbitrary JSON data into MistServer's configuration file. It is intended as a persistent storage for interfaces to safe server-wide settings in. The server itself will ignore any and all data stored using this method.

Requests look as such:

// To store arbitrary data:
{
"ui_settings": {
//data to store here. Must be an object.
}
}
//To retrieve without altering:
{
"ui_settings": true / any non-object value will work for retrieving
}

The response is always:

{
"ui_settings": {
//Previously stored data here
}
}