Hi,
Do you have a better example than the one on nRF Cloud that can show me how to transform a HTTP GET /message from my thingy. Right now, the messages are nested and it's quite difficult to just get a RSRP value for instance, as the response looks like this:
"items": [
{
"topic": "",
"deviceId": "",
"receivedAt": "2019-10-10T18:55:04.867Z",
"message": {
"data": "-42",
"messageType": "DATA",
"appId": "RSRP"
},
"tenantId": ""
},
{
"topic": "",
"deviceId": "",
"receivedAt": "2019-10-10T18:55:04.560Z",
"message": {
"data": "101.5",
"messageType": "DATA",
"appId": "AIR_PRESS"
},
"tenantId": ""
How would the get request look like for this example?
I know it should start with the following, but after the exclusiveEnd part it becomes quite tricky. https://api.nrfcloud.com/v1/messages?inclusiveStart=2019-09-20T19%3A19%3A45.902Z&exclusiveEnd=2022-09-24T19%3A19%3A45.902Z