route_match

Summary

Example object

{
"path": "/services/example/latest/",
"match_type": "prefix"
}

Fields

path

String value that will be compared to the :path header on the incoming request using the chosen match_type.

match_type

Sets the type of string matching to perform on the path. Must be one of:

  • "prefix" : path must match the beginning of the :path header

  • "exact" : path must match exactly match the :path header. (query strings are not included in this match)

  • "regex" : path is interpreted as a regex that must match the :path header. (query strings are not included in this match)