WP Manifestindependent plugin directory
manifest / integrations / wp-rest-api-idempotence

WP REST API - Idempotence

Allow WP REST API clients to specify an idempotency key for API requests.

★ 3stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/iron-bound-designs/wp-rest-api-idempotence/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
WP API Idempotence Allow WordPress REST API clients to specify an idempotency key for API requests. This allows for API clients to safely retry requests in case of network errors without risk of the request being processed twice. Description When a network error is encountered, API clients should be able to retry a request without a risk of their request being processed twice. WP API Idempotence adds support for clients to include an idempotency key that uniquely identifies that request. If the server detects that a request with the same key has already been processed or is currently being processed, the response for the initial request will be returned. For Example: Configuration Idempotency key can either be passed in the request header or the request body. The idempotency key name can be customized. Change the HTTP methods the idempotency key is supported for. Defaults to POST, PUT, PATCH. A sample request interface is included to demonstrate the selected configuration. Developers The plugin includes two actions to modify the dependency injection container (DIC) and insert custom services. The wpapiidempotenceinitializecontainerbuilder action allows you to modify