plugin-icon

Josie API

Adds endpoints for menus & tax-queries, as well as a server-side cache and CORS headers for the WordPress REST API.
Version
0.1.3
Active installations
10
Last updated
Nov 7, 2014
Josie API

Provides useful tools for optimizing a WordPress site to power a single page web app using WordPress REST API. Designed to work as a companion for the Josie REST API-powered starter app but useful for any site using the WordPress REST API.

This is a companion plugin for my WordPress REST API (WP-API) powered application starter, called Josie. It can be used with any site running the WordPress REST API.

It packages multiple libraries, most of which I wrote, to accomplish several things:

1) Provides a soft-expiring, server-side cache for requests to the REST API.

2) Adds routes and endpoints for making tax-queries.

3) Adds routes and endpoints for getting menus & menu items.

4) Adds cross-domain headers, and for the posts endpoint allows for page offsets and limits the number of posts_per_page.

Freeon Business plan
Tested up to
WordPress 4.0.38
This plugin is available for download for your site.