该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Ultimate WP REST API

描述

An awesome WordPress plugin to extend the WordPress APIs like Menu, Featured/Thumb Images, JWT Authentication & caching…

All the API is tested and used in the apps of EGANY, you can take a look at
* EGANY apps
* gikApp – React Native Mobile App For WordPress
* Qribto – The React Native App For Crypto Currency News Site

FEATURES:

  • Menus WP API: Adding menus endpoints on WP REST API / Extends WordPress WP REST API with new routes pointing to WordPress menus.
  • Better REST API Featured Images: Adds a top-level field with featured image data including available sizes and URLs to the post object returned by the REST API.
  • User WP API: Adding user endpoints on WP REST API. If you wish to Register User or Retrieve Password using REST API, without exposing Administrator credentials to the Front End application, you are at the right place. Since WordPress 4.7, REST API was natively included in WordPress.
  • Caching WP API: FileStorage, MemoryStorage
  • Authentication: auth by account and by JWT

屏幕截图

  • UWR-General-setting-1.png
  • UWR-Caching-1.png
  • UWR-API-Testing-1.png
  • UWR-API-Testing-2.png

安装

This section describes how to install the plugin and get it working.

  1. Upload Ultimate_WP_REST_API to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Add this block code to your .htaccess file at WordPress site root folder
    RewriteCond %{HTTP:Authorization} ^(.)
    RewriteRule .
    – [e=HTTP_AUTHORIZATION:%1]

常见问题

Is it free?

It’s absolutely free, no cost and fees

评价

2018年8月16日
Thank you for such a great plugin. Would be nice to integrate it into default wordpress!
2018年8月15日
This is an enhancement of the WP API!
阅读所有4条评价

贡献者及开发者

“Ultimate WP REST API” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Ultimate WP REST API”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.2.8

  • Fix minor bug
  • Update installation guideline

1.2.7

  • Add API settings/option (GET)
  • /settings/option?name=[option_name]

1.2.6

  • Disable Auth by User Account

1.2.5

  • Fixed bug UserInfo – User email existing
  • Fixed “There is no posting of comments” error
  • After logging in to the application using the existing login/password, the first name and last name fields in the user profile are not displayed.

1.2.4

  • Fixed bug login by nonce, update code

1.2.3

  • Fixed wp_create_nonce don’t exist

1.2.2

  • Fixed encode URL bugs

1.2.1

  • Update JWT bugs

1.2.0

  • Update API settings

1.1.0

  • Delete lib never used

1.0.0

  • Initial release