The following table demonstrates an advanced configuration of path parameters.
API Endpoint property | Example value |
---|---|
base-path |
/health/{tenant}/{resourceType} |
service |
HealthAPI.{resourceType} |
resource-path |
{resourceType}/{_TrailingPath} |
A request URI with the path /health/OmniCorp/patients/1234
matches the example base-path
value.
The following properties are added to the policy request:
service : HealthAPI.patients
HttpRequest.ResourcePath : patients/1234
Gateway.tenant : OmniCorp
Gateway.resourceType : patients