API Document for Ukigumo

Add new report

http://127.0.0.1:15000/api/v1/report/add

Input

statusSUCCESS: 1, FAIL: 2, NA: 3
projectproject name
branchBranch name
vc_loglog of difference from latest commit.(optional)
bodyThe body of report(optional)
revisionrevision number or hash string
reporepository uri

Output

report.report_idreport id
report.urlThe url for report
report.last_statuslast status id

Search Report

http://127.0.0.1:15000/api/v1/report/search

Input

projectproject name
branchBranch name
revisionrevision number or hash string
limitlimit the number of logs(optional)

Output

reports.n.report_idreport id
reports.n.statusSUCCESS: 1, FAIL: 2, NA: 3