API 2.0 GET to devices endpoint not returning as described in API docs.
Was excited to see and upgrade to the /api/1.0/devices/ endpoint that appears to respond with 'all' data like the api/1.0/devices/all endpoint.
While the POST data appears to be working properly (quick test) - the GET I am sending is responding with the 'brief' data like the straight /api/1.0/devices/ call.
Am I missing something?
Thanks for any insight-
Chris
https://device42-test/api/2.0/devices?limit=2&name=airtime
{
"total_count": 1,
"limit": 2,
"devices": [
{
"name": "airtime",
"type_id": 2,
"serial_no": "",
"asset_no": "",
"device_url": "/api/2.0/devices/844/",
"device_id": 844,
"type": "physical",
"uuid": ""
}
],
"offset": 0
}
1
-
I have the same issue. I've raised it as an issue with support but I don't see any way to fix it at the moment.
0
Please sign in to leave a comment.
Comments
1 comment