{"_id":"587e344a9483ad25007c3bc2","__v":0,"parentDoc":null,"category":{"_id":"56e5362775eb791700a9c4d2","__v":6,"project":"56cecbdb44c5700b0095c03a","pages":["56e590ae69d7890e000ec286","56e590fa3c29b117008dae50","56e6f058d66be417007d2364","56e7eaa8f0fafd36008faf59","56ea8db9ed3ad20e004e5a02","56ea8f3e0252fb17008804ac"],"version":"56cecbdc44c5700b0095c03d","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-03-13T09:43:03.596Z","from_sync":false,"order":7,"slug":"remote-api","title":"Server API"},"version":{"_id":"56cecbdc44c5700b0095c03d","project":"56cecbdb44c5700b0095c03a","__v":10,"createdAt":"2016-02-25T09:39:40.121Z","releaseDate":"2016-02-25T09:39:40.121Z","categories":["56cecbdc44c5700b0095c03e","56d1d2c05ad7ad0b00b7e809","56d1d2fa5ad7ad0b00b7e80a","56d369331660770b00081159","56d3693d1660770b0008115a","56e5361e7990160e002e3fbc","56e5362775eb791700a9c4d2","57a9030947f2f419009188d4","57b4705ee9e4c60e00f6f4c3","5828f5b04774ab0f005179a2"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"project":"56cecbdb44c5700b0095c03a","user":"56cecbb2e50c9c1b008303eb","githubsync":"","metadata":{"title":"","description":"","image":[]},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-01-17T15:12:10.550Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"code":"curl --include --header \"X-Api-Key: YOUR_API_KEY\" https://api.pushapps.mobi/v1/statistics/devices?date_from=1421401719000&date_to=now","language":"curl"}]},"method":"get","results":{"codes":[{"status":200,"language":"json","code":"{\n  \"platforms\": [\n    {\n      \"platform\": \"ios\",\n      \"enabled_count\": 21,\n      \"disabled_count\": 29,\n      \"total_count\": 50,\n      \"total_enabled_percentage\": 58,\n      \"total_disabled_percentage\": 50,\n      \"enabled_percentage\": 42,\n      \"disabled_percentage\": 58\n    },\n    {\n      \"platform\": \"android\",\n      \"enabled_count\": 15,\n      \"disabled_count\": 29,\n      \"total_count\": 44,\n      \"total_enabled_percentage\": 42,\n      \"total_disabled_percentage\": 50,\n      \"enabled_percentage\": 34,\n      \"disabled_percentage\": 66\n    }\n  ],\n  \"total_enabled\": 36,\n  \"total_disabled\": 58,\n  \"total\": 94\n}","name":""}]},"settings":"","auth":"required","params":[{"_id":"587e344a9483ad25007c3bc4","ref":"","in":"query","required":false,"desc":"utc timestamp in ms for the start of the time period","default":"","type":"string","name":"date_from"},{"_id":"587e344a9483ad25007c3bc3","ref":"","in":"query","required":false,"desc":"utc timestamp in ms for the end of the time period, default will act as \"now\"","default":"now","type":"string","name":"date_to"}],"url":"/v1/statistics/devices"},"isReference":false,"order":12,"body":"","excerpt":"View statistics for a specific notification","slug":"statisticsdevices","type":"endpoint","title":"/statistics/devices"}