Managed Databases

Get database failover history

get/managed-databases/{md_uuid}/failovers

Changes of the primary server of a database with 3 servers: when a server started answering as primary and when one stopped, newest first. Empty for a single-server database. Reads can be served by the replicas through read_host; writes always go to endpoint_host.

Autorización

Authorization
Authorization*string

Bearer YOUR_API_TOKEN con un token de API. También vale la cabecera X-API-Key: YOUR_API_TOKEN.

Parámetros de ruta

md_uuid*string

Parámetros de consulta

time_range?string

One of 24h, 7d, 30d, 90d (anything else is 24h)

Por defecto"24h"

Respuestas

Successful Response

application/json

time_range*string
failovers*array<ManagedDatabaseFailoverOut>
Propiedades (3)
at*string
event*string
Valores"primary_elected""primary_lost"
node_ordinal*integer