Skip to content
This repository has been archived by the owner on Dec 30, 2020. It is now read-only.

Request: Meta-Data Endpoint #35

Open
joshuaellinger opened this issue Apr 4, 2020 · 1 comment
Open

Request: Meta-Data Endpoint #35

joshuaellinger opened this issue Apr 4, 2020 · 1 comment

Comments

@joshuaellinger
Copy link

Can you create a meta-data endpoint that updates when data gets published?

Example:
https://covidtracking.com/api/states/meta-data
would something like return
{ "data-through": "2020-04-03", "last-updated": "2020-04-04T14:02:01-05" }

I need it for QC. Otherwise I don't have a way to tell the date for the current data without fetching the history.

@benjamingreenberg
Copy link

I was looking for something similar. I wonder if we could use the "lastModified" property in "US Current Values" (/api/us) for this. In other words, does a change in the data retrieved from the /api/us endpoint mean that the data retrieved from the /api/states endpoint must have already changed?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants