Configure Query Rules
mainQuery rules match URL query parameters (?key=value) by their key name.
- Basic rule: Match a key and apply a label/data type.
hover_only: Iftrue, it adds hover text to the existing parameter node without creating a new child node.pathscoping: Use thepathkey to restrict a query rule to a specific URL path (e.g., only apply rule forqif the path is/search).data_type: url: Setting this allows Unfurl to parse the parameter value as a full URL.
query_rules:
- key: q
path: /search
apply:
label: "Search: {value}"
data_type: example.search_query
- key: redirect_uri
apply:
data_type: url