Plugin info

Total downloads: 1,045
Active installs: 0
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 11/10/2015 (3752 days ago)
Added to WordPress: 11/10/2015 (10 years old)
Minimum WordPress version: 4.3.1
Tested up to WordPress version: 4.3.34
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 3752 days ago

20/100

Is WPRestApiExtensions abandoned?

Possibly abandoned (last update 3752 days ago).

Compatibility

Requires WordPress: 4.3.1
Tested up to: 4.3.34
Requires PHP: f

Developers

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

WP Shortcodes Plugin — Shortcodes Ultimate
Rating 4.9/5 (5,906 reviews)Active installs 500,000
Widget Logic
Rating 4.4/5 (188 reviews)Active installs 100,000
Bellows Accordion Menu
Rating 5.0/5 (23 reviews)Active installs 10,000
Parent Category Toggler
Rating 4.8/5 (15 reviews)Active installs 10,000
Olevmedia Shortcodes
Rating 4.7/5 (26 reviews)Active installs 8,000

Description

Extends the WP-REST API with custom read only endpoints.

If you have a WordPress blog at http://www.example.com you can reach the read only REST API by requesting these endpoints:

http://www.example.com/wp-json/wprestapiextensions/v1/posts?page=1&per_page=12&search=query&tags=tag1+tag2 http://www.example.com/wp-json/wprestapiextensions/v1/tag?tag_name=tag1 http://www.example.com/wp-json/wprestapiextensions/v1/post 

The above endpoints does read from database whenever they are requested, and are thus very slow to react.

From within the plugin, there is an option to deploy a cache in front of this REST API. When you deploy it, be warned that the folder “rest-api” will be created in the root of your webserver.

You can then request the REST-API like this:

http://www.example.com/rest-api/v1/posts?page=1&per_page=12&search=query&tags=tag1+tag2 http://www.example.com/rest-api/v1/tag/?_jsonp=angular.callbacks._1&tag_name=tag1 

Since these requests are infinitely cached, you can schedule an optional wipe of the cache which will occur 5 minutes after last post alteration.

Installation

  1. Download to your WordPress plugin folder and unzip.
  2. Activate plugin.

Frequently Asked Questions

Do I use this at my own risk?

Yes.

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

1.0.6

  • Refactoring plugin for better performance.
  • Adding an infinite cache for faster rest-api requests.
  • Deploy cache mechanism from control panel.
  • Optional wipe cache functionality when posts have been altered.

1.0.5

  • Added search capability.
  • Added simple pagination.
  • Added a five minute caching.

1.0.4

  • Added new endpoints for posts.
  • Wrapping responses

1.0.3

  • If you request a tag with spaces in the name, before failing it will also try searching for a tag where spaces has been replaces with ‘-‘ tags.

1.0.2

  • Added endpoint so you can get a tag.

1.0.1

  • Added categories to response for posts.

1.0.0

  • Uploaded plugin.