It may be a good idea to have an endpoint with some general stats for the directory: - Total plugins count - Total themes count - List of plugin categories - List of theme tags - Plugin counts per category - Theme count per tag Using filters to return data, something like: Returns everything: `https://directory.classicpress.net/wp-json/wp/v2/meta` Returns specified data points: `https://directory.classicpress.net/wp-json/wp/v2/meta?filter=total_plugins,total_themes` The data should be cached, every 12 hours should be enough. Even 24 would be good.
It may be a good idea to have an endpoint with some general stats for the directory:
Using filters to return data, something like:
Returns everything:
https://directory.classicpress.net/wp-json/wp/v2/metaReturns specified data points:
https://directory.classicpress.net/wp-json/wp/v2/meta?filter=total_plugins,total_themesThe data should be cached, every 12 hours should be enough. Even 24 would be good.