Edge Rules

Test a request against the edge rules

Changed on

A dry run: what the proxy would do with the described request, against the saved rules or the rules supplied. Nothing is stored or counted.

post/projects/{project_id}/edge-rules/evaluate

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

project_idinteger required

Project ID

Request body

Response

The decision and a per-rule trace

matched_mode'enforce' | 'log_only' nullable

log_only evaluates the rule and records matches but never acts.

matched_rule_idinteger nullable

The rule the proxy log would record: the deciding rule, or the first rule that matched in log-only mode.

summarystring required

The decision in one sentence.

Changes

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status

    2 more changes in this revision