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
If I POST two identical data, such as
{
"phenomenonTime": "2023-11-27T06:07:59Z",
"result": 13.24
}
can FROST-server avoid writing the same data twice ?
Currently, I have to check data manualy to prevent writing identical data
The text was updated successfully, but these errors were encountered:
The standard makes no statements on dealing with duplicate data. What exactly constitutes a duplicate, and what should happen when one is found, can also be use-case specific, so currently checking for duplicates has to be done by the client.
It is possible to manually add a constraint to the observations table to check for duplicates, though that would currently result in a 500 "failed to store data" error, which is not the most useful.
If I POST two identical data, such as
{
"phenomenonTime": "2023-11-27T06:07:59Z",
"result": 13.24
}
can FROST-server avoid writing the same data twice ?
Currently, I have to check data manualy to prevent writing identical data
The text was updated successfully, but these errors were encountered: