Optional ReadonlyfingerprintDefault 'request'.
Optional ReadonlykeyDefault { header: 'Idempotency-Key' }.
Optional ReadonlyleaseDefault: the plugin's leaseMs (60,000).
Optional ReadonlymaxDefault: the plugin's maxResponseBytes (262,144). UTF-8 bytes of a string body; byte length of a binary body.
Optional ReadonlynamespaceDefault `${method} ${path}` of the request. 1–256 characters, none below U+0020.
Optional ReadonlyprincipalDefault 'required': no principal → 401. 'optional': every anonymous
request shares ONE scope, so an anonymous caller who sends another
anonymous caller's key is served that caller's stored response. Pair
'optional' with response: 'status' unless the response is safe to show
any anonymous caller.
Optional ReadonlyredactionRedacts a JSON-object body before it is stored. Default: none.
Optional ReadonlyreplayExtra replayable header names, beyond the default allow-list. Default [].
Optional ReadonlyrequiredDefault true: a request without a key answers 400. false: it passes through, unclaimed.
Optional ReadonlyresponseDefault 'full'. 'status' stores no body and no headers.
Optional ReadonlyttlDefault: the plugin's ttlMs (86,400,000).
Options for the HTTP
idempotent()middleware and the@Idempotentdecorator.Since
0.9.0