On Fri, Mar 19, 2021 at 07:54:34PM +0800, Li Yuanchao wrote:
Signed-off-by: Li Yuanchao lyc163mail@163.com
container/web-backend/web-backend | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+)
diff --git a/container/web-backend/web-backend b/container/web-backend/web-backend index 33a3fae..49c07a7 100755 --- a/container/web-backend/web-backend +++ b/container/web-backend/web-backend @@ -146,3 +146,28 @@ end get '/get_repo_statistics' do new_refs_statistics(params) end
+# GET /get_jobs_summary?suite=iperf&GROUP_BY=my_name +# must: +# - query_conditions +# - suite / group_id / ... +# - GROUP_BY +# - group_id / my_email / my_name +# +# Response like: +# - { +# "kezhiming" : {
^ no space, as seen other file in our project.
Thanks, Weitao
+# "nr_all" : $nr_all, +# "nr_pass" : $nr_pass, +# "nr_fail" : $nr_fail +# }, +# "chenqun" : { +# "nr_all" : $nr_all, +# "nr_pass" : $nr_pass, +# "nr_fail" : $nr_fail +# }, +# ... +# } +get '/get_jobs_summary' do
- group_jobs_stats(params)
+end
2.23.0