WP Manifestindependent plugin directory
manifest / integrations / wp-rest-api-json-filters

WP REST API JSON Filters

Adding additional filters to the JSON output on a REST API post request

★ 0stars
1.0latest · 9 years ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/tottaz/wp-rest-api-json-filters/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Extends the JSON response to a REST API V2 post requests, by

  • adding thumbnail image url and full image url to the JSON response
  • adding authors avatar to a JSON response
  • get the count of comments to a post

This is very useful when you build an Mobile app and use the WP REST API V2 to request data from the WP backend. It reduses the number of API call the mobile app is doing reducing the bandwith and speed up the delivery of a page to a mobile app.

Releases

1 release.

Tag
Published
1.0 latest
Feb 23, 2017 9 years ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.