Coverage
Ask — the Shared Flow maps the verdict onto a boolean, so an
ask gate is
allowed and recorded. Write the rule as Block if you need a hard stop.
Use it when Apigee is your API management layer and you can attach the Shared
Flow with an environment flow hook, covering every proxy by default. Not when
you can only attach it proxy by proxy and the catalog grows fast — each new proxy
is born uncovered.
Limits. No masking: the documented flow raises a fault or lets the request
pass. Both PreFlow and PostFlow attachments are needed for full direction
coverage.
Full comparison: Coverage.
- Create an API key on the collector.
- AssignMessage — build
{ protocol, direction, payload, consumer_id, session_id }(client_id / developer app asconsumer_id). - ServiceCallout —
POSTevaluate withAuthorization: Bearer. - RaiseFault 403 when
status == "block". - On
transform, replace the message body withtransformed_payload. - Attach with FlowCallout on the request path (
direction: input) and response path (direction: output).