WPRR API
API for running a full react site on WordPress without any server setup
by Mattias Ekendahl · github.com/developedbyme/wprr-api · website
★ 6stars
2forks
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/developedbyme/wprr-api/archive/refs/heads/master.zipFrom the readme
WPRR API
This plugin enables data to be outputted at json for any url in wordpress.
Usage
Add the query ?mRouterData=json to any url to get output as json.
Installation
From your WordPress dashboard
1. Visit 'Plugins Add New'
2. Search for 'WPRR API'
3. Activate WPRR API from your Plugins page.
From WordPress.org
1. Upload the folder wprr-api to the /wp-content/plugins/ directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
Data structures for data API
CurrentUserData
Data API Endpoints
Get the current user
Gets the details for the current user
Request
GET /wp-content/plugins/wprr-api/data/me/
Response
Errors
Response for not signed in
Changelog
0.17.0
Started to move over to the wprr namespace
0.16.0
New endpoint for range
0.15.0
Acf encoding of meta
0.14.0
First version of rendering
0.13.4
Added hook for encoding of term
0.13.3
Correct translation of acf options
0.13.2
Image redirection
0.13.1
Added support for id redirect
0.13.0
Added support for add-ons
0.12.0
Changed loading of acf values to support options
0.11.8
Added menu end point
0.11.7
Added prepare of encoding
0.11.6
Added endpoint to get acf options
0.11.