Afternoon all,
I’ve just noticed that the api isn’t returning any sensor field for ‘get /traps’ as per the example responses:
[
{
“uuid”: “095be615-a8ad-4c33-8e9c-c7612fbf6c9f”,
“name”: “string”,
“tags”: [
“string”
],
“date_installed”: “2019-08-24T14:15:22Z”,
“installed_by”: “string”,
“device_model”: {
“uuid”: “095be615-a8ad-4c33-8e9c-c7612fbf6c9f”,
“name”: “string”,
“subtype”: “string”
},
“sensor”: {},
“line”: {
“uuid”: “095be615-a8ad-4c33-8e9c-c7612fbf6c9f”,
“name”: “string”
},
“project”: {
“uuid”: “095be615-a8ad-4c33-8e9c-c7612fbf6c9f”,
“name”: “string”
},
“location”: “string”,
“weight”: 0,
“images”: [
{
“uuid”: “095be615-a8ad-4c33-8e9c-c7612fbf6c9f”,
“url”: “string”,
“fid”: 0
}
],
“notes”: “string”,
“is_retired”: true,
“contact”: {
“name”: “string”,
“address”: “string”,
“email”: “string”,
“phone”: “string”
},
“meta”: {
“created”: “2019-08-24T14:15:22Z”,
“changed”: “2019-08-24T14:15:22Z”,
“owner”: {
“uuid”: “095be615-a8ad-4c33-8e9c-c7612fbf6c9f”,
“username”: “string”
},
“supplementary”: {
“parent”: “42e2bc1b-6741-4e2e-b138-97b4a342c999”
},
“originating_system”: “string”
}
}
]
Cheers,
Kieran.