ExCiteS / geokey

Platform for participatory mapping
http://geokey.org.uk
Other
55 stars 29 forks source link

Public API endpoint to request server information #324

Closed mstevens83 closed 8 years ago

mstevens83 commented 8 years ago

It would be a good idea to have an API endpoint which non-human clients (e.g. Sapelli) can use to request basic server information (version, installed extensions, etc.) and thus verify they are indeed talking to a (compatible) GeoKey set-up.

There could be security concerns with giving away this information in a public API, but then again we already expose the GeoKey version on publicly accessible admin pages. To reduce the risk @mfc-julius points about the API should not expose superuser extensions unless the requester is an (authenticated) super user.

mstevens83 commented 8 years ago

Implemented in 96171e417c3370c3e628fcb783d549a21f45a9a2, 04671e517a4f4bc9fbdad308cfb8d434fef8c17a & a58164c1f4dc1037bfeeec95643a8953b994b049. Merged into master and released with https://github.com/ExCiteS/geokey/releases/tag/0.8.2.

Still, I'm interested to hear what @oliverroick thinks about all this.

mstevens83 commented 8 years ago

Added documentation on website: https://github.com/ExCiteS/geokey-website/pull/19