🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Konto Get it free
WP REST API Idempotent Requests icon
Möglicherweise aufgegeben Tested up to 4.8.35

WP REST API Idempotent Requests

Allow REST API clients to safely retry requests in case of network errors without risk of the request being processed twice.

Aktive Installationen<10Neu
Downloads · 30d32▲ +52.4% vs prev. 30d
Wertung—0 Bewertungen
Gesundheits-Score21/100In Gefahr
Downloads aller Zeiten2.3KSeit April 2017
Unterstützung gelöst—Keine aktuellen Threads
erfordertWP 4.7PHP ANY
Downloads · 7d11▲ +10% week over week
Unser Urteil

Betrachten Sie eine Alternative

WP REST API Idempotent Requests shows warning signs in 2026 — compare the alternatives below before installing. Was last updated 10 years ago, and scores 21/100 on our health check.

  • Kleine Benutzerbasis (<10 aktive Installationen)
  • Bisher sehr wenige Bewertungen
  • Kein Update in 9 Jahren
  • Nur getestet bis WordPress 4.8 (letzt ist 7.1)

Wie stapelt es sich?

Side-by-side bei Installationen, Updates, Bewertungen und Support

Tägliche Downloads

123Sep 4Oct 18Dec 2
Gestern4
Täglicher Durchschnitt (1 Jahr)1
Spitzentag4Apr 26, 2026
Letzte 12 Monate227

Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.

Ranglisten

Where WP REST API Idempotent Requ… stands today

WordPress.org Ranglisten suchen

Live-Position in der Plugin-Suche, Top 100
StichwortPositionKonkurrierende PluginsKategorie
rest-api >100 10,000 Best rest-api plugins →

About WP REST API Idempotent Requests

Aus der offiziellen Readme · V1.0

Beschreibung

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:

{
    "title": "My Important Post",
    "content": "This will only go out once!",
    "status": "draft",
    "idempotency_key": "1ced64e9-9537-4b7b-9919-444d9e15e201"
}

Konfiguration

  • 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.

Entwickler

The plugin includes two actions to modify the dependency injection container (DIC) and insert custom services.

The wp_api_idempotence_initialize_container_builder action allows you to modify the Dependency Injection builder itself and
the wp_api_idempotence_initialize_container action allows you to override dependencies. For example:

add_action( 'wp_api_idempotence_initialize_container', function( $container ) {
    $container->set( '_dataStore', DI\object( 'YourName\CustomDataStore' ) );
} );

Under the hood, the plugin is made up of a DataStore, RequestHasher, ResponseSerializer and RequestPoller.

The DataStore is primarily responsible for retrieving or storing an idempotent request. By default, requests
are stored in a custom database table. This could be substituted for a custom driver by implementing the DataStore
interface. For example a Redis server.

The RequestHasher produces a unique hash for a WP_REST_Request object. This hash is based off of the contents of
the request, not for the object via spl_object_hash or similar. This can also be substituted by implementing the
RequestHasher interface.

The ResponseSerializer converts a WP_REST_Response or WP_Error object back and forth from a string representation.
The default JSON serializer supports filtering the serialization process using the wp_api_idempotence_serialized_response_data
and wp_api_idempotence_attach_serialized_response_data filters. See src/ResponseSerializer/Filtered.php.
The entire serializer can be substituted by implementing the ResponseSerializer interface.

Finally, the RequestPoller class polls the data store for a response if it is determined that an idempotent request
is currently being processed when another request with the same key arrives. By default, the data store is polled
every seconds a maximum of 15 times to try and retrieve a response object. If no response is found, an error with code
rest_duplicate_idempotency_key will be returned. This can be adjusted by overwriting the poll.sleepSeconds and
poll.maxQueries in the DIC. The RequestPoller can also be entirely subsituted by implementing the RequestPoller
interface.

Mitwirken

This plugin is hosted on GitHub. Issues and pull requests are welcomed.

Änderungsprotokoll

1.0

  • Initial version.

Vollständiges Änderungsprotokoll auf WordPress.org →

Für Entwickler

Ist das dein Plugin? Zeigen Sie die Zahlen.

Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.

Aktiv installiert Badge Bewertungsabzeichen Gesundheits-Score-Abzeichen

Best WP REST API Idempotent Reques… alternatives

All rest-api plugins →
Alternativen
Rang Plugin Aktive Installationen Wertung Aktualisierten Gesundheit
1 WooCommerce Legacy Rest API WooCommerce Legacy Rest API Die WooCommerce Legacy Rest API, die jetzt Teil von WooCommerce selbst ist, aber… von WooCommerce 300K+ ★★★★★★★★★★ 1.5 (29) Vor 2 Tagen 55
2 Ruhe deaktivieren API Ruhe deaktivieren API Deaktivieren Sie die Nutzung des Rests API auf Ihrer Website für Benutzer der Website. Jetzt mit Unterstützung der Benutzerrolle! Von Dave McHale 80K+ ★★★★★★★★★★ 4.8 (38) Vor 3 Jahren 37
3 Verbindung herstellen Verbindung herstellen Verbindung herstellen. Make lässt Sie entwerfen, bauen und automatisieren, indem Sie sich mit WordPress in… von machen 70K+ ★★★★★★★★★★ 2.9 (27) Vor 4 Wochen 70
4 JWT Authentication for WP REST API JWT Authentication for WP REST API Extends the WP REST API using JSON Web Tokens Authentication as an authentication method. by tmeister 50K+ ★★★★★★★★★★ 4.4 (53) Vor 2 Wochen 88
5 WPGraphQL WPGraphQL WPGraphQL adds a flexible and powerful GraphQL API to WordPress, enabling efficient… von Jason Bahl 30K+ ★★★★★★★★★★ 4.9 (48) Vor 2 Wochen 86
6 Deaktivieren Sie WP REST API Deaktivieren Sie WP REST API Deaktiviert die WP REST API für Besucher, die nicht bei WordPress angemeldet sind. von Jeff Starr 30K+ ★★★★★★★★★★ 4.8 (36) Vor 4 Monaten 84
7 JWT Authentication for WP REST APIs JWT Authentication for WP REST APIs Secure and protect WordPress REST API from unauthorized access using JWT token, Basic… by miniOrange 10K+ ★★★★★★★★★★ 4.4 (75) Vor 3 Wochen 87
8 WordPress Ruhe API (Version 2) WordPress Ruhe API (Version 2) Greifen Sie über eine benutzerfreundliche HTTP-REST API auf die Daten Ihrer Website zu. (Version 2) Von Ryan McCue 10K+ ★★★★★★★★★★ 4.2 (34) Vor 9 Jahren 43
9 SMNTCS Disable REST API User Endpoints SMNTCS Disable REST API User Endpoints Hides the list of user accounts that the WordPress REST API shows to visitors who are not… Von Niels Lange 9K+ ★★★★★★★★★★ 5 (2) Vor 2 Monaten 75
10 Contact Form to Any API Contact Form to Any API Send Contact Form 7 submissions to any API, Webhook or CRM — quick setup, flexible… by IT Path Solutions 8K+ ★★★★★★★★★★ 5 (28) Vor 2 Wochen 89

Fragen und Antworten

WP REST API Idempotent Requests: quick answers

Gerade Antworten, gezogen von Live WordPress.org Daten.

Quelle: WordPress.org

Is WP REST API Idempotent Requests free?

Yes. WP REST API Idempotent Requests is free to download and use from the official WordPress.org plugin directory.

Is WP REST API Idempotent Requests safe to use in 2026?

WP REST API Idempotent Requests shows warning signs in 2026 — compare the alternatives below before installing. Was last updated 10 years ago, and scores 21/100 on our health check.

How many websites use WP REST API Idempotent Requests?

WP REST API Idempotent Requests is active on <10 WordPress websites and has been downloaded 2,294 times since it launched in April 2017. It was downloaded 32 times in the last 30 days.

Does WP REST API Idempotent Requests work with WordPress 7.1?

WP REST API Idempotent Requests is officially tested up to WordPress 4.8.35, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was WP REST API Idempotent Requests last updated?

The latest version, 1.0, was released on April 9, 2017 (10 years ago).

Who makes WP REST API Idempotent Requests?

WP REST API Idempotent Requests is developed and maintained by Timothy Jacobs.

What are the best alternatives to WP REST API Idempotent Requests?

The most popular alternatives to WP REST API Idempotent Requests are WooCommerce Legacy REST API (300K+ installs), Disable REST API (80K+ installs) and Make Connector (70K+ installs).

Angetrieben von PageForge

Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.

PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.

  • CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
  • seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
  • Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
  • Kostenlos auf WordPress.org, keine Kreditkarte

↑↓ bewegen↵ öffnen