Add or update an intercept-and-transform rule (idempotent upsert)
proxy_update_transformUpsert a transform rule by method, URL, and regex key, replacing patches if the rule exists, to avoid auto-review friction.
Instructions
Idempotently upsert a transform rule by (method + url + regex) key. If a rule with the same key exists, its patches are replaced. Use this instead of clear+re-add to avoid auto-review friction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL pattern. Default is glob/substring matched against the full absolute URL. Use a short substring like 'viewMultiviews' to avoid classifier issues with full URLs. | |
| regex | No | Treat 'url' as a raw regex (default false). | |
| method | Yes | HTTP method: GET, POST, PUT, DELETE, PATCH, HEAD, or OPTIONS. | |
| patches | Yes | One or more JSON patch operations. |