Hi,
Is there API to get only the description of every id using the GET /devices API.
FYI: ( I would like to retrieve the id of each device but depending on the “description” )
json:
[ {
“id” : “291ae0e5956c69c2267489213df4459d19ed48a806603def19d417d004a4b67e”,
“attributes” : [ {
“name” : “ip_addr”,
“value” : “1.2.3.4”,
“description” : “IP address”
}, {
“name” : “mac_addr”,
“value” : “00.01:02:03:04:05”,
“description” : “MAC address”
}, {
“name” : “ports”,
“value” : [ “8080”, “8081” ],
“description” : “Open ports”
} ],
“updated_ts” : “2016-10-03T16:58:51.639Z”
}, {
“id” : “76f40e5956c699e327489213df4459d1923e1a806603def19d417d004a4a3ef”,
“attributes” : [ {
“name” : “mac”,
“value” : “00:01:02:03:04:05”,
“description” : “MAC address”
} ],
“updated_ts” : “2016-10-04T18:24:21.432Z”
} ]