API Document for Ukigumo
Add new report
http://127.0.0.1:15000/api/v1/report/add
Input
status | SUCCESS: 1, FAIL: 2, NA: 3 |
---|---|
project | project name |
branch | Branch name |
vc_log | log of difference from latest commit.(optional) |
body | The body of report(optional) |
revision | revision number or hash string |
repo | repository uri |
Output
report.report_id | report id |
---|---|
report.url | The url for report |
report.last_status | last status id |
Search Report
http://127.0.0.1:15000/api/v1/report/search
Input
project | project name |
---|---|
branch | Branch name |
revision | revision number or hash string |
limit | limit the number of logs(optional) |
Output
reports.n.report_id | report id |
---|---|
reports.n.status | SUCCESS: 1, FAIL: 2, NA: 3 |