invantive-dokumentationen del av Invantive Cloud
Invantive supportforumLogga in / Registrera dig

Konfiguration av Heartbeat-slutpunkt

Heartbeat-slutpunkten är vanligtvis konstruerad för minimal svarstid eftersom den vanligtvis anropas med några sekunders mellanrum. Använd Test Endpoint Configuration för mer omfattande diagnostik.

Exempel

Följande JSON är ett exempel för denna standardiserade konfigurationskomponent:

{ "Enable": true
}

Definition

{
  "$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."
	    }
      }
    }
  ]
}