Configuración del endpoint de heartbeat
El endpoint de heartbeat normalmente se construye para lograr un tiempo de respuesta mínimo, ya que normalmente se consulta cada pocos segundos. Use Test Endpoint Configuration para diagnósticos más exhaustivos.
Ejemplos
El siguiente JSON es un ejemplo para este componente de configuración estandarizado:
{ "Enable": true
}
Definición
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://invantive.com/schemas/defs/HeartbeatEndpointConfig.schema.json",
"title": "HeartbeatEndpointConfig",
"description": "Heartbeat endpoint configuration.",
"allOf": [
{
"type": "object",
"additionalProperties": false,
"properties": {
"Enabled": {
"type": "boolean",
"description": "Whether the test endpoint is enabled."
}
}
}
]
}