Advanced REST API DevTools

描述

Advanced REST API DevTools brings the power of Postman directly into your WordPress admin dashboard. Explore routes, build and test API requests, profile performance, log traffic, manage collections and environments — all without leaving the admin area.

Features:

  • Route Explorer — Browse all registered REST API routes with search, filter, and source detection
  • Request Builder — Full-featured request builder with method, headers, body, auth options
  • Pre-request Scripts — Dynamic variable/header manipulation before sending
  • Test Assertions — Post-response assertions (status, JSON path, contains, equals)
  • Collections — Save, organize, and run request collections with pass/fail results
  • Environments — Manage variable sets with {{var}} syntax replacement
  • Request History — Browse and reload recent requests
  • Performance Profiler — Timing breakdown (routing, permissions, callback, DB queries)
  • Authentication Debugger — View current user auth context, caps, and method validation
  • Request Logger — Opt-in REST API traffic logging with filters and auto-purge
  • Mock Responses — Stub mock responses for offline/testing workflows
  • Code Generation — Export requests as cURL, PHP (wp_remote_*), or JavaScript (fetch)

安裝

  1. Upload the advanced-rest-api-devtools folder to /wp-content/plugins/
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Navigate to Tools REST DevTools

常見問題

Who can access the plugin?

Only users with the manage_options capability (typically Administrators).

Does it affect site performance?

No. The plugin only runs on its admin screens. Request logging is opt-in and includes automatic cleanup.

Can I test external APIs?

The plugin is designed for your site’s REST API (loopback requests). External API testing is not currently supported.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Advanced REST API DevTools” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Advanced REST API DevTools 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.1.0

  • Initial release with full feature set
  • Route explorer with caching and source detection
  • Request builder with pre-scripts and assertions
  • Collections, environments, history, profiler, logger
  • Mock response simulation
  • Code generation (cURL/PHP/JS)