internal

Update Database Status

Update the status of a managed database instance (worker only).

Responds 409 when expected_status does not match, and for any update of a RESTORING database that does not come from the restore job (a status sync that listed the database before the restore started). An empty error_message clears it.

patch/internal/databases/{database_id}/status

Request

  • Base URL: https://api.mengi.cloud (the document declares no server; this is the origin it was published from)
  • URL: https://api.mengi.cloud/internal/databases/{database_id}/status
  • Auth: none declared. Required headers: x-service-token

Path parameters

database_idstring uuid required

Headers

x-service-tokenstring required

Request body

statusstring nullable
error_messagestring nullable
git_commit_shastring nullable
connection_hoststring nullable
connection_portinteger nullable
connection_secret_namestring nullable
external_hoststring nullable
expected_statusstring nullable
barman_server_namestring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.