该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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!