[WordPress] 外掛分享: REST API Explorer

首頁 › 外掛目錄 › REST API Explorer
50+
安裝啟用
—
尚無評分
剛更新
最後更新
—
問題解決
WordPress 6.0+ PHP 7.0+ v1.1.0 上架:2024-04-16

內容簡介

REST API Explorer 外掛提供了一個簡便的方式來探索當前註冊的 REST API 路由和端點,並顯示每個端點的參數資訊。使用者可以透過控制台中的工具選單來互動式地測試 API。

【主要功能】
• 列出 WordPress 核心及外掛註冊的 REST 端點
• 支援所有 HTTP 方法(GET、POST、PUT、PATCH、DELETE)
• 以漂亮的 JSON 格式顯示端點結果
• 允許輸入 JSON 格式的物件和陣列參數
• 提供 URL 路徑參數的輸入選項
• 端點執行後自動滾動至結果

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「REST API Explorer」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin provides an easy way to explore the currently registered REST API routes and endpoints along with parameter information for each endpoint. The plugin adds a Tools > REST API Explorer menu item which provides an interactive API exploration interface, listing REST endpoints from WordPress core as well as endpoints registered by plugins. You can provide values for endpoint parameters (where applicable) and run the endpoints in your browser.
How do I access the plugin interface?
The plugin interface can be accessed in the WordPress admin under Tools > REST API Explorer.
1.1.0

Show endpoint results inline as pretty-printed JSON, with a green or red status
Support every HTTP method (GET, POST, PUT, PATCH, DELETE) when running endpoints
Enter object and array parameters as JSON, with inline validation
Add an input for URL path parameters, including ones the route does not declare, and show and check the expected URL format
Allow choosing no value for optional enumerated parameters
Add a route filter above the navigation tree
Scroll to the result after running an endpoint
Tested up to WordPress 7.1

1.0.3

Update plugin header and tested up to version

1.0.2

Add an additional permissions check before loading data

1.0.1

Add the ability to run REST API routes in the browser

1.0.0

Initial release

延伸相關外掛

文章
Filter
Mastodon