這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

REST API Console

描述

The REST API Console is an interactive way to explore the WordPress REST API through your normal WordPress admin. Great for learning about the API, tinkering with data on your site, or finding out what your site is exposing. (Also pairs well with a fruity red.)

You’ll need to have the WordPress REST API plugin (v2 or later) installed to use this. You can only access your local site through this plugin.

Don’t have a WordPress site handy? Want to try-before-you-buy? Check out demo.wp-api.org for a publicly visible version!

安裝

Upload to your site, activate, then head on over to your new Tools > REST API Console page.

Congratulations!

評價

2020年3月22日
Good start, but this could be a million percent more useful if you simply added the ability to edit the query instead of just appending something. For example: a query like this will never work: /wp/v2/pages/(?P<id>[\d]+) I agree it's nice to have it as a reference, and it should defenitly stay, BUT when you click on it, you should have an options to edit the query to turn it into /wp/v2/pages/123. I know I could get kind of the same result (except it will be wrapped inside an array) with /wp/v2/pages/?include=123, but meh.. Anyway, I'll probably modify the plugin and create this myself, as it seems development has ceased.
閱讀全部1個評價

貢獻者及開發者

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

貢獻者

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

對開發相關資訊感興趣?

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

修改日誌

2.1

  • Remove erroneous double slash in API URLs.

2.0.1

  • Correct versioning issue

2.0

  • Initial release!