Skip to content

Device property values

GET
/v1/device/{type}/names
curl --request GET \
--url 'https://restapi.affattr.com/v1/device/os/names?date_from=example&date_to=example&page=1&limit=100' \
--header 'API-KEY: <API-KEY>'

Values of a device property seen in the installs of the client in the date range, the values the device filters of the reports take. Client API key only.

type
required
string
Allowed values: os os_version manufacturer model type language app_version sdk_version

Property

date_from
required
string

First date, YYYY-MM-DD

date_to
required
string

Last date, YYYY-MM-DD

search
string

Substring of the value

page
integer
default: 1

Page, from 1

limit
integer
default: 100

Values per page, at most 1000

Values

Media type application/json
object
data
object
names
Array<string>
pagination
object
next_page
integer
page
integer
per_page
integer
total_count
integer
Example generated
{
"data": {
"names": [
"example"
]
},
"pagination": {
"next_page": 1,
"page": 1,
"per_page": 1,
"total_count": 1
}
}

Bad request

Media type application/json
object
error

What went wrong. 403 always says “Access denied”.

string
request_id

Id of the request, to quote to support.

string
Example
{
"error": "Access denied",
"request_id": "6ebb1a30-76ef-42fe-8ba8-c423791de78e"
}

No credentials (answered with 403 until default-deny is enabled)

Media type application/json
object
error

What went wrong. 403 always says “Access denied”.

string
request_id

Id of the request, to quote to support.

string
Example
{
"error": "Access denied",
"request_id": "6ebb1a30-76ef-42fe-8ba8-c423791de78e"
}

Invalid credentials or no access

Media type application/json
object
error

What went wrong. 403 always says “Access denied”.

string
request_id

Id of the request, to quote to support.

string
Example
{
"error": "Access denied",
"request_id": "6ebb1a30-76ef-42fe-8ba8-c423791de78e"
}

Internal server error

Media type application/json
object
error

What went wrong. 403 always says “Access denied”.

string
request_id

Id of the request, to quote to support.

string
Example
{
"error": "Access denied",
"request_id": "6ebb1a30-76ef-42fe-8ba8-c423791de78e"
}