This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Description
Is the desire to, at some point, add routes and endpoints for plugins and themes? I.e for checking currently installed plugins/themes, installing and updating?
I'm thinking about a use for this and have the following routes and endpoints in mind...
Route: /plugins
- GET: List of installed plugins, basically the output of get_plugins()
Route: /plugins/[plugin-name]
- GET: Retrieve plugin metadata
- POST: Install/activate plugin
- PUT: Update plugin
- DELETE: Delete installed plugin
Route: /themes
- GET: List of installed themes
Route: /themes/[theme-name]
- GET: Retrieve theme metadata
- POST: Install/activate theme
- PUT: Update theme
- DELETE: Delete installed theme
What do you think?