REST API api/1/devices/tags

https://private-anon-0b2f806c9b-hologram.apiary-mock.com/api/1/devices/tags returns the documented response for me:

“data”: [
{
“name”: “My Tag”,
“id”: 123,
“deviceids”: [
1234,
1236
]
}

However, when I run against the production server, https://dashboard.hologram.io/api/1/devices/tags,
I get:

“data”: {
“tags”:
[
{
“name”: “My Tag”,
“id”: 123,
“deviceids”: [
1234,
1236
]
}
]
}

Can someone confirm the different response?

Second one is correct. Looks like a bug in our API docs causing the incorrect first one. We’ll fix that soon.

Thank you for looking into it.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.