Open pvgenuchten opened 5 years ago
Good suggestion! Via #257 #262 currently working on summary reporting via API (with content-type negotiation). So this fits well! Need to work out details. Getting single Layer status is tricky as status is run per endpoint. Setting up a monitor automatically set up could be risky, there is an existing issue #20 to at least setup programmatically. Basic Auth via API is planned. We will need a more structured API approach like OAS anyway.
Ok, to not go into individual layers, but only mention full service quality
I want to suggest this new feature for geohealthcheck: provide a method that exposes a javascript snippet or dynamic image representing the current/recent state of a service to be represented as a logo on an external website (like a catalog) having a reference to a wms/wfs service monitored by geohealthcheck.
We need a mechanism to identify a certain monitoring by url#layername (instead of using resource-id, which is not known in the external website.
The external website would include a snippet like:
Geohealthcheck will return an image presenting the current (or last month) service quality (or 404 if the service is not monitored).
An additional feature could be that in case the service is not monitored yet, a monitor could be automatically set up (is that risky?)