ApplesauceOS
Read Markdown ↗Download .md

POST /settings/action

Request a settings action.

This is a device HTTP route. Set DEVICE_URL to your reachable device URL; connection and examples explain how. Do not append this path to the public MCP URL.

Parameters

ParameterTypeMeaning
actionJSON stringinspector, stopScripts or respring.
confirmJSON booleanMust be true for respring.

Response

JSON {accepted:true}.

Example

sh
curl --fail-with-body "$DEVICE_URL/settings/action" \
  -H 'Content-Type: application/json' \
  -d '{"action":"inspector"}'

Notes

stopScripts requests cancellation of non-daemon scripts. respring ends active scripts and requires confirm:true. Use a per-run stop when appropriate.

Check the HTTP status and any JSON error. HTTP workflows and error handling explain shared limits. All endpoints.