Dashboard
Admin dashboard¶
**Endpoint: /admin/dashboard/
Allowed methods: GET
GET
It shows the server statistics. You can use the argument ?refresh=1 to update the data, as this data is only updated every 24 hours.
- active_anon_last_week: Active number of anonymous users in the server.
- published_projects_last_week: Published projects from the last week.
- new_tasks_week: Number of new tasks created on the last week.
- update_feed: Activity feed of actions in the server.
- draft_projects_last_week: List of new draft projects created in the last week.
- update_projects_last_week: List of updated projects in the last week.
- new_users_week: Number of new registered users in the last week.
- new_task_runs_week: Number of new task runs in the last week.
- returning_users_week: Number of returning users per number of days in a row in the last week.
- active_users_last_week: Number of active users in the last week.
- wait: This will be False if there’s data, otherwise it will be True.
Example output
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 | { "active_anon_last_week": { "labels": [ "2016-04-28" ], "series": [ [ 0 ] ] }, "active_users_last_week": { "labels": [ "2016-04-28" ], "series": [ [ 1 ] ] }, "draft_projects_last_week": [ { "day": "2016-04-27", "email_addr": "email", "id": id, "owner_id": id, "p_name": "name", "short_name": "name", "u_name": "name" }, { "day": "2016-04-26", "email_addr": "email", "id": id, "owner_id": id, "p_name": "name", "short_name": "name", "u_name": "name" } ], "new_task_runs_week": { "labels": [ "2016-04-28" ], "series": [ [ 4 ] ] }, "new_tasks_week": { "labels": [ "2016-04-26", "2016-04-28" ], "series": [ [ 57, 4 ] ] }, "new_users_week": { "labels": [ "2016-04-27" ], "series": [ [ 1 ] ] }, "published_projects_last_week": [], "returning_users_week": { "labels": [ "1 day", "2 days", "3 days", "4 days", "5 days", "6 days", "7 days" ], "series": [ [ 0, 0, 0, 0, 0, 0, 0 ] ] }, "template": "admin/dashboard.html", "title": "Dashboard", "update_feed": [], "update_projects_last_week": [ { "day": "2016-04-28", "email_addr": "email", "id": id, "owner_id": id, "p_name": "name", "short_name": "name", "u_name": "name" }, { "day": "2016-04-27", "email_addr": "email", "id": id, "owner_id": id, "p_name": "name", "short_name": "name", "u_name": "name" }, { "day": "2016-04-26", "email_addr": "email", "id": id, "owner_id": id, "p_name": "name", "short_name": "name", "u_name": "name" }, ], "wait": false } |