Skip to content

timeline

Ricardo Alanis edited this page Sep 29, 2016 · 2 revisions

GET Shows the timeline of events registered on such projects

params pid(String): Repositorio del proyecto period(String): Periodo a agrupar datos (year, month, day, hour, minute)

event(String)-Opcional: Nombre del evento

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"
}
Clone this wiki locally