External Services

POST /external-services/{id}/wal-archive/test

Changed on

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

idinteger required

External service ID

Response

The check ran; ok says whether WAL-G could write to the archive target

checked_atstring date-time required
endpointstring required

AWS_ENDPOINT exactly as WAL-G receives it.

force_path_styleboolean required

Whether WAL-G uses path-style addressing.

live_settings_driftstring nullable

Set when the running container's walg.env differs from these settings: PostgreSQL archives with that file, so archiving can be failing even when this check passes. Says how to fix it.

messagestring required

A confirmation, or WAL-G's error with credentials redacted.

okboolean required

Whether WAL-G could write a probe object to the archive target, which is what archive_command needs. The object is never read back, and its removal afterwards is best effort: ok says nothing about read or delete permission.

path_style_reasonstring required

Why path style has that value.

s3_source_idinteger required

The S3 source WAL is archived to.

s3_source_namestring required
schemestring required

http, https, or aws for AWS S3 itself.

Example response

{
  "endpoint": "http://10.0.0.5:9000",
  "path_style_reason": "forced: the endpoint is an IP address",
  "scheme": "http"
}

Changes