Add build status endpoint

This commit is contained in:
Sanket Patel
2018-06-05 12:58:52 -05:00
parent f4cb1441f0
commit 15555ec353
2 changed files with 60 additions and 0 deletions

View File

@ -152,6 +152,15 @@ type Commit struct {
} `json:"parents"`
}
type BuildStatus struct {
State string `json:"state"`
Key string `json:"key"`
Name string `json:"name"`
Url string `json:"url"`
Description string `json:"description`
DateAdded int64 `json:"dateAdded"`
}
type Diff struct {
Diffs []struct {
Source struct {