Trigger self-update
Changed onInstructs this Sencho instance to pull the update image and recreate its own container. An optional release version in the request body drives semver repinning; floating tags are pulled without rewriting the compose file. Digest and unresolved pins are rejected with 409 before any pull runs. Returns 202 immediately; the actual update happens asynchronously after the response is sent. Requires the instance to be deployed via Docker Compose with the Docker socket mounted.
Request
- Base URLhttps://localhost:1852
- URLhttps://localhost:1852/api/system/update
- AuthHTTP bearer
Request body
Response
Update initiated.
Example response
{
"message": "Update initiated. The server will restart shortly."
}Changes
- info
added optional request body
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
- info
removed the
ADMIRAL_REQUIREDenum value from theresponse property for the response status - info
removed the
ADMIRAL_REQUIREDenum value from theresponse property for the response status
- info