On-Prem Updates
8 Endpunkte. Basis-URL: https://xapi.ambertech.cloud/api/v1
Apply the available update (transactional, auto-rollback on failure)#
POST
/system-updates/applyTokenAntworten
- 202Angenommen
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/system-updates/apply" \
-H "Authorization: Bearer $XISUITE_TOKEN"Check whether a newer release is available#
POST
/system-updates/checkTokenAntworten
- 202Angenommen
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/system-updates/check" \
-H "Authorization: Bearer $XISUITE_TOKEN"Fetch job log from a byte offset (for refresh-safe resume)#
GET
/system-updates/logsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
since | Query | number | – |
Antworten
- 200OK
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/system-updates/logs" \
-H "Authorization: Bearer $XISUITE_TOKEN"Reinstall the currently running release (transactional, auto-rollback on failure)#
POST
/system-updates/reinstallTokenAntworten
- 202Angenommen
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/system-updates/reinstall" \
-H "Authorization: Bearer $XISUITE_TOKEN"Restore the pre-update database backup (only after a failed update left the schema ahead of the code)#
POST
/system-updates/restore-dbTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
confirmPflicht | Query | string | The exact filename of the backup shown in the status payload. Acts as a confirmation, not a selector. |
Antworten
- 202Angenommen
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/system-updates/restore-db" \
-H "Authorization: Bearer $XISUITE_TOKEN"Revert the last update to the previous version#
POST
/system-updates/revertTokenAntworten
- 202Angenommen
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/system-updates/revert" \
-H "Authorization: Bearer $XISUITE_TOKEN"Current update status, versions, backup + rollback state#
GET
/system-updates/statusTokenAntworten
- 200OK
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/system-updates/status" \
-H "Authorization: Bearer $XISUITE_TOKEN"Live status + log stream (SSE) for the running job#
GET
/system-updates/streamTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
since | Query | number | – |
Antworten
- 200OK
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/system-updates/stream" \
-H "Authorization: Bearer $XISUITE_TOKEN"