Skip to content

Get Settings Suggestions

Stable

Getting settings suggestions returns the recommended default path values for each setting field. The suggestions are platform-appropriate path templates that the UI can pre-populate into the settings form.

PropertyValue
Applies toDaemon
TriggerClient requests suggested default values for the settings form
PreconditionsNone

Inputs

There are no inputs.

Assertions

AssertionStatus
None — the operation always succeeds

Outputs

{ dcsWorkingDir?, dcsInstallDir?, dropzoneModsDir? } : An object with the three suggested path strings. All fields are optional strings. The current implementation always returns all three.

The suggested values are Windows path templates using environment variable placeholders:

FieldSuggested value
dcsWorkingDir%USERPROFILE%\Saved Games\DCS
dcsInstallDir%PROGRAMFILES%\Eagle Dynamics\DCS World
dropzoneModsDir%LOCALAPPDATA%\DCS Dropzone\Mods

Note: These are suggestions only. The user may enter any path. Environment variable placeholders in the returned strings are not expanded — they are returned as-is for display in the UI.

Effects

None. This is a read-only operation returning static values.

Behavior

mermaid
flowchart TD
    Start([GET /api/settings/suggestions]) --> Return[Return hard-coded path templates]
    Return --> Done(["{ dcsWorkingDir, dcsInstallDir, dropzoneModsDir }"])

    style Done fill:#4ade80,color:#000

See Also