Confirmed users
36
edits
DEinspanjer (talk | contribs) |
(→Server-side: Updated the description of the server's response to a new submission) |
||
| Line 310: | Line 310: | ||
*The server will store the JSON document into a daily staging collection with all other documents received during that date, UTC. | *The server will store the JSON document into a daily staging collection with all other documents received during that date, UTC. | ||
*If the POST request contains a header with the ID of a previously submitted document, the server will delete that old document as part of the transaction of storing the new one. | *If the POST request contains a header with the ID of a previously submitted document, the server will delete that old document as part of the transaction of storing the new one. | ||
*The server will return an HTTP response to the client indicating success of the storage | *The server will return an HTTP response to the client indicating success of both the deletion of the old document and storage of the new document. | ||
*In the future this response might also include instructions to the client for things such as changing timing or MetricsDataPing configuration. | *In the future this response might also include instructions to the client for things such as changing timing or MetricsDataPing configuration. | ||
*Longitudinal data for 6 months (e.g. intensity of use) is stored cumulatively in the JSON objects indexed by document ID. ''Documents older than 6 months are deleted.'' | *Longitudinal data for 6 months (e.g. intensity of use) is stored cumulatively in the JSON objects indexed by document ID. ''Documents older than 6 months are deleted.'' | ||