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

by Torbjorn Zetterlund · github.com/tottaz/wp-rest-api-json-filters · website

0stars
1forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/tottaz/wp-rest-api-json-filters/archive/refs/heads/master.zip

Readme

WP-Rest-API-Json-Filters

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.

Read the full README on GitHub →

Releases

TagPublished
1.0 Feb 23, 2017

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