Device property values
const url = 'https://restapi.affattr.com/v1/device/os/names?date_from=example&date_to=example&page=1&limit=100';const options = {method: 'GET', headers: {'API-KEY': '<API-KEY>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Property
Query Parameters
Section titled “Query Parameters ”First date, YYYY-MM-DD
Last date, YYYY-MM-DD
Substring of the value
Page, from 1
Values per page, at most 1000
Responses
Section titled “ Responses ”Values
object
object
object
Example generated
{ "data": { "names": [ "example" ] }, "pagination": { "next_page": 1, "page": 1, "per_page": 1, "total_count": 1 }}Bad request
object
What went wrong. 403 always says “Access denied”.
Id of the request, to quote to support.
Example
{ "error": "Access denied", "request_id": "6ebb1a30-76ef-42fe-8ba8-c423791de78e"}No credentials (answered with 403 until default-deny is enabled)
object
What went wrong. 403 always says “Access denied”.
Id of the request, to quote to support.
Example
{ "error": "Access denied", "request_id": "6ebb1a30-76ef-42fe-8ba8-c423791de78e"}Invalid credentials or no access
object
What went wrong. 403 always says “Access denied”.
Id of the request, to quote to support.
Example
{ "error": "Access denied", "request_id": "6ebb1a30-76ef-42fe-8ba8-c423791de78e"}Internal server error
object
What went wrong. 403 always says “Access denied”.
Id of the request, to quote to support.
Example
{ "error": "Access denied", "request_id": "6ebb1a30-76ef-42fe-8ba8-c423791de78e"}