Test Endpoint Configuration
The test endpoint is typically constructed for more extensive tests and less for minimal response time. Use Heartbeat Endpoint Configuration for use with service monitoring application.
Examples
The following JSON is an example for this standardised configuration component:
{ "PresharedSecret": "presharedsecret"
, "Enable": true
}
Definition
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://invantive.com/schemas/defs/ExtendedTestEndpointConfig.schema.json",
"title": "ExtendedTestEndpointConfig",
"allOf": [
{
"type": "object",
"additionalProperties": false,
"properties": {
"Enabled": {
"type": "boolean",
"description": "Whether the test endpoint is enabled."
},
"PresharedSecret": {
"type": ["string", "null"],
"description": "The pre-shared key."
}
}
}
]
}