-
Notifications
You must be signed in to change notification settings - Fork 0
timeline
Ricardo Alanis edited this page Sep 29, 2016
·
2 revisions
GET Shows the timeline of events registered on such projects
params
- pid(String): Name of project repository
- period(String): Time period to group data by (year, month, day, hour, minute)
- event(String)-Optional: Event name to find data from
localhost:5000/timeline?pid=test
{
event: "all",
log: {
2016-09-29 11:20:00: 1,
2016-09-29 11:23:00: 1,
2016-09-29 12:41:00: 12,
2016-09-29 12:43:00: 3,
2016-09-29 14:02:00: 1
},
pid: "test"
}
http://localhost:5000/timeline?pid=test&event=awesome
{
event: "all",
log: {
2016-09-29 11:20:00: 1,
2016-09-29 11:23:00: 1,
2016-09-29 12:41:00: 12,
2016-09-29 12:43:00: 3,
2016-09-29 14:02:00: 1
},
pid: "test"
}