v34

latestOpenAPI 3.1.0AGPL-3.0-onlyraw.githubusercontent.com2026-08-018932140.9 KB
Health

Trigger self-update

Instructs 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.

post/api/system/update

Request body

targetVersionstring

Release version to update to (valid semver).

Response

Update initiated.

messagestring

Example response

{
  "message": "Update initiated. The server will restart shortly."
}