Used to get information on attributes associated with users or devices.
For more information on attributes and tags review our dedicated guide.
Returned attributes
- tag_id int ID of tag
- device_id int ID of the device that attribute is associated with
- value mixed value of the attribute if set; else null
- update_time int timestamp the attribute was last updated
{
"apptoken": "YOUR_APPTOKEN",
"condition": [
[
"device_id",
"=",
"55555"
]
]
}{
"apptoken": "YOUR_APPTOKEN",
"condition": [
[
"device_id",
"=",
"55555"
],
[
"tag_id",
"=",
"55555555"
]
]
}Your App token
Select what attributes to return, eg. ["create_time", "tag_id", "device_id"]
Filter the results based on some criteria, eg. [ ["create_time", ">", 1432303411] ]
Used with offset for pagination, eg. "limit": 50, "offset": 0 returns a max of 50 results starting at position 0
Used with limit for pagination
200
{
"success": "True",
"code": "200",
"data": [
{
"id": "7",
"project_id": "PROJECT_ID",
"device_id": "1631352398",
"tag_id": "43529467",
"value": "True",
"update_time": "1605097393"
}
]
}400
{
"success": "False",
"code": "400",
"message": "General error information",
"errors": [
{
"text": [
"Detailed information about the specific error"
]
}
]
}