WP Manifestindependent plugin directory
manifest / developer / site-config-json-api

Site Config JSON API

A plugin to expose site configuration via JSON

by Brian Wood (Stratifi Creative) · github.com/mintcondition/site-config-json-api

1stars
0forks

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/mintcondition/site-config-json-api/archive/refs/heads/main.zip

From the readme

Allows connection to an API endpoint delivering SiteConfiguration via JSON. IMPORTANT NOTE: This exposes a good bit of your site configuration to anyone with an endpoint. The only authentication is through the built in API key system. It is NOT meant for production sites or ones that you care about securing. Why would you want to use this? Well, this will allow you te generate JSON describing a lot about your site, for example, it gives info on CPTs and ACF meta fields attached to those CPTs. This can be handy when working with something like ChatGPT or another system. Instead of having to remember exactly what post and field Keys you need when asking for a code block, you can just hit the API endpoint and get a current list of them all. Feed that to ChatGPT and ask your questions. "Please modify the main query for the Events posts so that it sorts by the Event Start Date and only shows events in the future." ChatGPT will understand that Events uses the post key "mysiteevts" and the field it needs to work with is "evtstartdate". There are other reasons you might use this as well. If you can't figure out how to install a WP Plugin, you should NOT use this one. Fix for na

Read the full README on GitHub →

Releases

TagPublished
0.5.1 May 31, 2024
0.5.0 May 29, 2024
0.2.3 May 27, 2024
0.1.1 May 27, 2024
0.1.0 May 27, 2024
0.0.3 May 27, 2024
0.0.2 May 27, 2024

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