cedaro / satispress

Expose installed WordPress plugins and themes as Composer packages.
500 stars 48 forks source link

Get packages list via REST API #121

Closed binaryfire closed 4 years ago

binaryfire commented 4 years ago

Any chance of adding a REST API endpoint to list all available packages along with the available version numbers? Basically a way to get this info as json: https://github.com/cedaro/satispress/blob/develop/docs/packages.md

bradyvercher commented 4 years ago

I wrote several endpoints to manage themes, plugins, and packages for a commercial alternative I was working on a couple years ago called Crate, but don't currently have a need for something like that in SatisPress.

It should be fairly easy to write an add-on to either add a custom endpoint similar to /satispress/packages.json or register a read-only REST API endpoint to output that data.

therajumandapati commented 4 years ago

@bradyvercher Has the work stopped on Crate?

bradyvercher commented 4 years ago

@therajumandapati We have discontinued work on Crate. I still really like the concept and think it has potential, but there didn't seem to be enough interest. Some of the improvements made their way into SatisPress with the 0.3 rewrite, though.