Validate route
Validate route,
Route
application/yaml- body
access_log?|nullagent?stringalias?stringAlias is route lookup key.
Supported HTTP host-match forms:
- short alias: "app"
- FQDN alias: "app.example.com"
- leading-label wildcard alias: "*.example.com"
Wildcard aliases match exactly one leftmost label and are checked only after normal exact/domain lookup misses, preserving the fast path for exact routes.
bind?string|nullcontainer?|Docker only
disable_compression?booleanexcluded?boolean|nullexcluded_reason?string|nullhealth?for swagger
healthcheck?|null on load-balancer routes
homepage?host?stringidlewatcher?|nullinbound_mtls_profile?stringHTTP-based routes only: must match a configured inbound_mtls_profiles entry and is ignored when entrypoint.inbound_mtls_profile is set
index?stringIndex file to serve for single-page app mode
load_balance?|nulllurl?string|nullmax_conns_per_host?integermiddlewares?|nullno_tls_verify?booleanport?provider?|for backward compatibility
proxmox?|nullpurl?stringrelay_proxy_protocol_header?booleanTCP only: relay PROXY protocol header to the destination
response_header_timeout?integerroot?stringrule_file?string|nullrules?array<>|nullscheme?string"http""https""h2c""tcp""udp""fileserver"spa?booleanSingle-page app mode: serves index for non-existent paths
ssl_certificate?stringPath to client certificate
ssl_certificate_key?stringPath to client certificate key
ssl_protocols?array<string>Allowed TLS protocols
ssl_server_name?stringSSL/TLS proxy options (nginx-like)
ssl_trusted_certificate?stringPath to trusted CA certificates
tls_termination?booleanTCP only: terminate inbound TLS on the shared HTTPS listener before proxying plaintext to the destination
Route validated
application/json- response
details?|nullmessage?stringcurl -X POST 'https://example.com/api/v1/route/validate' \ -H 'Content-Type: application/yaml' \ -d '{}'{ "details": { "property1": null, "property2": null }, "message": "string"}