• Best Multilingual Plugin
  • Compatible With Your Favorite Themes
  • Automatic and Human Translation
  • Translation, Multilingual, SEO

WPRestApiExtensions

by Lars Jensen

0 Ratings

Active Installations

Fewer than 10

Last Update

9 years

Quality

D

Plugin Description

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.

Similar Plugins

  • Report Bug
The content on this website originates from various sources. All rights to the original content remain with the respective author. If you believe that your copyrights have been infringed by the use of content on this website, please contact us at info@plugin-guru.com. We will remove the content in question immediately.

This is the heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Collections

Create your first Collection

To create a collection, simply click on the symbol on the desired plugin.

You can see this symbol when you move the mouse over the plugin. 

Current Level

Plugin Magican

You have reached 0 views on your collections and are currently Plugin Magican. You magically help people find the right plugins and are a great asset to the community

0 of 500 views reached