Consider the following example configuration.

Gateway API Endpoint property Example value
inbound-base-path /health/{tenant}/{resourceType}
outbound-base-path /api/v1/health/{tenant}/{resourceType}
service HealthAPI.{resourceType}
resource-path {resourceType}/{_TrailingPath}

A request URI with the path /health/OmniCorp/patients/1234 matches the inbound base path and is mapped to the outbound path /api/v1/health/OmniCorp/patients/1234.

The following properties are added to the policy request:

  • service : HealthAPI.patients
  • HttpRequest.ResourcePath : patients/1234
  • Gateway.tenant : OmniCorp
  • Gateway.resourceType : patients