hotosm / galaxy-api

Backend to fetch data from Underpass
https://galaxy-api.hotosm.org/latest/redoc
GNU Affero General Public License v3.0
14 stars 5 forks source link

Show recency of data per data source #270

Closed d-rita closed 2 years ago

d-rita commented 2 years ago

What does this PR do?

How to test:

Via the /status endpoint, you can run

{
  "dataSource": "underpass",
  "dataOutput": "data_quality"
}

in order to get back a JSON response with the duration since the last update of the data/stats per the data source.

d-rita commented 2 years ago

@kshitijrajsharma is the /raw_data/status/ endpoint still active?

kshitijrajsharma commented 2 years ago

@kshitijrajsharma is the /raw_data/status/ endpoint still active?

You can shut it down !