Skip to main content
Nowledge MemNowledge Mem

Install

POST
/admin/upgrade/install

Snapshot + recreate the mem container on a new tag.

Strict checks BEFORE forwarding to the sidecar:

  • Origin guard (default-closed).
  • Stable semver tag.
  • confirm matches tag (the type-to-confirm contract).
  • Reject downgrades and same-version applies (catch operator misclicks).

The sidecar runs free-space precheck + lock acquisition + snapshot + recreate detached and returns 202 immediately. The UI polls /check to learn when the new tag is live.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/admin/upgrade/install" \  -H "Content-Type: application/json" \  -d '{    "confirm": "string",    "tag": "string"  }'
{}