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