View on GitHub

WP-Sys-Profile

This plugin creates a custom REST API Endpoint that displays information on the WordPress install and the stack it runs on.

Download this project as a .zip file Download this project as a tar.gz file

WP Sys Profile

This plugin creates a custom REST API Endpoint that displays information on the WordPress install and the stack it runs on.

Requires WordPress 4.4 or higher.

No authentication is required for public route. Private route looks for a key passed in the request headers. OAuth is probably better, but this might make this plugin useful for larger scale support where getting information quickly with a little customer effort is valuable.

NO sensitive information (usernames, passwords, etc...) is passed in the public route.

Some is in ONLY the private route.

If you need to report further sensitive information feel free to fork this repo.

Displays the following information:

If you have security concerns about displaying this kind of information publicly, fork this repo and remove any of the info you like. Or disable the public route. Or add in some further level of security. Pulls welcome.

Live example of this on my site: http://antonioortegajr.com/wp-json/sys_profile/v1/profile

WP API docs: http://wp-api.org/guides/extending.html

I have seen other plugins that do a very similar thing. However they don't offer me an REST endpoint to argue against and ultimatly that is why I started this project.

Any changes and with a little set up, I can know programaticly.

The plugins that display this kind of report in WP dash, in an accessable html page, or in an external service are all neat. I just wanted an API enpoint.

Forks and Pulls welcome. And Issues...

To consume this API, script or use a REST client (like Postman!) to call the enpoint and pass the api key in the request headers.

Enpoint will be YourDomain.com/wp-json/sys_profile/v1/profile

The header for the API key is: apikey

Example in Postman

Sample JSON return from the Private Endpoint: