Configuratie van het heartbeat-eindpunt
Het heartbeat-eindpunt is doorgaans ontworpen voor een minimale responstijd, aangezien het meestal om de zoveel seconden wordt opgevraagd. Gebruik Test Endpoint Configuration voor uitgebreidere diagnostiek.
Voorbeelden
Het volgende JSON-voorbeeld is een voorbeeld voor dit gestandaardiseerde configuratiecomponent:
{ "Enable": true
}
Definitie
{
"$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."
}
}
}
]
}