Settings

Read and write device configuration

Get all device settings

get

Returns all internally stored configuration parameters together with their data-type metadata. The exact set of keys mirrors the firmware's settings.csv table that is used to flash the firmware with pre-applied settings.

Responses
chevron-right
200

Settings retrieved successfully

application/json

Response to GET /api/settings.

and
get
/api/settings
200

Settings retrieved successfully

Update device settings

post

Accepts a JSON object whose keys are parameter names. Only the keys that are present are updated; all others keep their current values. The device will reboot automatically after persisting the new settings. Returns an error if the drone is currently armed.

Body

Body for POST /api/settings. Send only the keys you want to change; all others keep their current values. Key names must exactly match the db_name field of the firmware parameter table.

Responses
chevron-right
200

Settings accepted; device will reboot

application/json

Generic status/message response used by several endpoints

statusstring · enumOptionalExample: successPossible values:
msgstringOptionalExample: Settings changed! Rebooting ...
post
/api/settings

Last updated