sbrl / Pepperminty-Wiki

A wiki in a box
https://peppermint.mooncarrot.space/
Mozilla Public License 2.0
180 stars 22 forks source link

Mega Enhancement: Machine-Readable API #138

Closed sbrl closed 6 years ago

sbrl commented 7 years ago

As a longer-term goal, it would be awesome if we could have a machine-readable API. just imagine! We could have an android app. We could build bots. The possibilities are endless! Let's work towards that.

I think the best way of tackling this is to add extra actions and additional headers / parameters that return either raw data, or JSON. e.g. accept: application/json to return a json list of pages for example - then we don't have an extra parameter floating around all over the place all the time making a nuisance of itself :P

sbrl commented 6 years ago

That's the history action updated!

sbrl commented 6 years ago

Looks like the commenting system will need an update to be machine-readable, too.

sbrl commented 6 years ago

That's the edit locks done! :D

sbrl commented 6 years ago

I believe that's practically everything. These changes have been released in v0.16, and I'll keep an eye out for anything else that isn't machine-friendly and fix it as and when.