You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a great state/date history view in the internal website, backed by the /state-date-history/<string:state>/<string:date> API. I'm thinking we should also have a batch view that just shows metadata for all batches in chronological order.
To do this, I'm proposing a /batches/metadata endpoint that returns only the metadata of all batches, similar to /batches but without the 4MB JSON blob. I'm not 100% sure what should be included in this. The simplest version has only the batch metadata, e.g:
{ "batchId": 79, "batchNote": "Upon further outreach and review of the document linked in sources, we have updated our understanding of how NC reports total test results. NC's total tests include results from all tests administered for one person and have reported that the unit for total tests is specimens. Therefore, we moved all values from Total PCR Tests (People) to Total Tests (PCR).", "createdAt": "Thu, 13 Aug 2020 14:48:31 GMT", "dataEntryType": "edit", "isPublished": true, "isRevision": true, "link": "https://github.com/COVID19Tracking/issues/issues/759", "logCategory": "other", "publishedAt": "Thu, 13 Aug 2020 14:48:31 GMT", "shiftLead": "JJA", "user": "jesse" }
But that doesn't seem like enough to be useful, since it won't tell us the state(s) and date(s) covered by the batch, which means we can't link to the state/date history to actually see the edits.
The text was updated successfully, but these errors were encountered:
We have a great state/date history view in the internal website, backed by the
/state-date-history/<string:state>/<string:date>
API. I'm thinking we should also have a batch view that just shows metadata for all batches in chronological order.To do this, I'm proposing a
/batches/metadata
endpoint that returns only the metadata of all batches, similar to/batches
but without the 4MB JSON blob. I'm not 100% sure what should be included in this. The simplest version has only the batch metadata, e.g:{ "batchId": 79, "batchNote": "Upon further outreach and review of the document linked in sources, we have updated our understanding of how NC reports total test results. NC's total tests include results from all tests administered for one person and have reported that the unit for total tests is specimens. Therefore, we moved all values from Total PCR Tests (People) to Total Tests (PCR).", "createdAt": "Thu, 13 Aug 2020 14:48:31 GMT", "dataEntryType": "edit", "isPublished": true, "isRevision": true, "link": "https://github.com/COVID19Tracking/issues/issues/759", "logCategory": "other", "publishedAt": "Thu, 13 Aug 2020 14:48:31 GMT", "shiftLead": "JJA", "user": "jesse" }
But that doesn't seem like enough to be useful, since it won't tell us the state(s) and date(s) covered by the batch, which means we can't link to the state/date history to actually see the edits.
The text was updated successfully, but these errors were encountered: