Guest User

Untitled

a guest
Sep 20th, 2019
89
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Active users count endpoint
  2. Request:
  3. /networks/:networkEID/stats/active-users-count
  4. Response:
  5. {
  6. "data": [
  7. {
  8. "date": "2019-09-01",
  9. "uniqueUsers": 10
  10. },
  11. {
  12. "date": "2019-09-02",
  13. "uniqueUsers": 12
  14. },
  15. {
  16. "date": "2019-09-03",
  17. "uniqueUsers": 15
  18. }
  19. ],
  20. "uniqueUsersForPeriod": 16,
  21. "dateFrom": "2019-09-01",
  22. "dateTo": "2019-09-03"
  23. }
  24.  
  25. # Average sessions per user endpoint
  26. Request:
  27. /networks/:networkEID/stats/average-sessions-per-user
  28. Response:
  29. {
  30. "data": [
  31. {
  32. "date": "2019-09-01",
  33. "averageSessionsPerUser": 10
  34. },
  35. {
  36. "date": "2019-09-02",
  37. "averageSessionsPerUser": 12
  38. },
  39. {
  40. "date": "2019-09-03",
  41. "averageSessionsPerUser": 15
  42. }
  43. ],
  44. "averageSessionsPerUserForPeriod": 16,
  45. "dateFrom": "2019-09-01",
  46. "dateTo": "2019-09-03"
  47. }
  48.  
  49. # Average session length endpoint
  50. Request:
  51. /networks/:networkEID/stats/average-session-length
  52. Response:
  53. {
  54. "data": [
  55. {
  56. "date": "2019-09-01",
  57. "averageSessionLength": 10
  58. },
  59. {
  60. "date": "2019-09-02",
  61. "averageSessionLength": 12
  62. },
  63. {
  64. "date": "2019-09-03",
  65. "averageSessionLength": 15
  66. }
  67. ],
  68. "averageSessionLengthForPeriod": 16,
  69. "dateFrom": "2019-09-01",
  70. "dateTo": "2019-09-03"
  71. }
RAW Paste Data