GET Stats / Technology
Returns Hardware names, OS Versions and App Versions
Endpoint URL: https://api.carnivalmobile.com/v6/stats/devices/technology
Examples
Copy
curl -X GET -u :$API_KEY -H 'Accept: application/json' https://api.carnivalmobile.com/v6/stats/devices/technology
Result Format
200 OK
Copy
{
"total": 20,
"app_version": [
{
"term": "1.0",
"count": 10,
"percent": 50
},
{
"term": "2.1",
"count": 5,
"percent": 25
},
{
"term": "1.1",
"count": 5,
"percent": 25
}
],
"notifications_allowed": [
{
"term": 0,
"count": 34,
"percent": 60
},
{
"term": 1,
"count": 21,
"percent": 37
},
{
"term": 2,
"count": 1,
"percent": 1
}
],
"os_version": [
{
"term": "8.4",
"count": 10,
"percent": 50
},
{
"term": "8.3",
"count": 9,
"percent": 45
},
{
"term": "8.4.1",
"count": 1,
"percent": 5
}
],
"with_token": 3,
"sdk_version": [
{
"term": "3.5.0",
"count": 8,
"percent": 40
},
{
"term": "3.0.0",
"count": 5,
"percent": 25
},
{
"term": "3.5.2",
"count": 3,
"percent": 15
},
{
"term": "3.5.1",
"count": 2,
"percent": 10
},
{
"term": "3.4.0",
"count": 2,
"percent": 10
}
],
"marketing_name": [
{
"term": "Google Pixel 2",
"count": 13,
"percent": 23
},
{
"term": "iPhone X (A1865/A1902)",
"count": 5,
"percent": 8
},
{
"term": "Android SDK built for x86_64",
"count": 32,
"percent": 77
},
{
"term": "iPhone6",
"count": 6,
"percent": 10
}
],
"with_location": 8
}
Copy
{
"error":"unauthorized"}
403 Forbidden
Copy
{
"error":"your api client does not have the correct roles"}