config

POST /config/import

Changed on

Validate a bundle and stage it for the next restart to apply on boot. Applying on the next boot replaces whatever configuration the target currently holds — there is no uninitialized precondition. confirmed must be true (the import is a device-identity move that overwrites in place); a missing/invalid body or confirmed != true is a 400. D14: session-JWT gated; the handler MUST NOT log the request body.

post/config/import

Request

  • The document declares no server URL.
  • Auth
    • API key in query parameter auth
    • or API key in header Authorization

Request body

confirmedboolean required
passwordstring required
replaceRejectedImportboolean

Separate consent to irreversibly replace possibly unique rejected input.

sourcePathstring required

Response

Bundle staged for next restart

tsinteger required

Server time when the response was built (unix epoch milliseconds).

Changes

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status