Im sending temperature data with timestamp into MongoDB. My document structure looks like this:
{
"_id": ObjectId("57c974d705578f617f5491e3"),
"temperature" : 24,
"timestamp" : "9/2/2016, 2:47:19 PM",
"_msgid" : "7944eab7.86bb14"
}
and I want to get to freeboard the latest value of temperature via RESTHeart query. Was looking throught the documentation on restheart.org but with no result... How would the query look like? Any ideas? Thanks for replys...