List config files
The console reads the config files after each workflow of the service and at each drift check, and keeps a version when a file changed. It keeps every version of the last 90 days, and at least the last 20 versions per server and file.
/api/v1/database-services/{id}/config-filestse_sessionAPI key · cookierequiredidstringrequiredOK
checked_atstring<date-time>The time of the latest drift check since the console started
driftedbooleanrequiredA file of a server has drifted
serversConfigFileServer[]requiredShow propertiesHide properties
ConfigFileServerfilesConfigFileEntry[]requiredShow propertiesHide properties
ConfigFileEntrydrift_checkedbooleanrequiredAnsible writes the file, so a change outside the console is drift
driftedbooleanrequiredThe latest version is a change outside the console. The next apply or deploy writes the file again
filestringrequiredpatroni.yml, postgresql.conf, postgresql.auto.conf, pg_hba.conf, pgbouncer.ini (pgbouncer-N.ini for each further PgBouncer process) or haproxy.cfg
pathstringrequiredThe path of the latest version on the server
versionsConfigFileVersion[]requiredThe newest first
Show propertiesHide properties
ConfigFileVersionidstringrequiredredactedbooleanrequiredfalse: the console could not redact this version, and keeps only its hash
sha256stringrequiredThe hash of the file on the server, before the redaction. A password change gives a new hash with the same redacted text
sourcestringrequiredworkflow: read after a workflow, or the first read. patroni: Patroni wrote postgresql.conf. drift: changed outside the console
workflowpatronidrifttaken_atstring<date-time>requiredworkflow_idstringThe workflow after which the console read the version
server_idstringrequiredserver_namestringrequiredEmpty when the server is no longer in the console
Error
codestringStable code of the refusal, when the route has codes
detailsstring[]Additional detail, e.g. per-field validation failures
errorstringrequiredHuman-readable error message