diff --git a/api_response.go b/api_response.go index 4eb02af..e8cce7e 100644 --- a/api_response.go +++ b/api_response.go @@ -109,6 +109,13 @@ type MergeResult struct { Current bool `json:"current"` } +type MergeGetResponse struct { + CanMerge bool `json:"canMerge"` + Conflicted bool `json:"conflicted"` + Outcome string `json:"outcome"` + Vetoes []map[string]interface{} `json:"vetoes"` +} + type PullRequestRef struct { ID string `json:"id"` DisplayID string `json:"displayId"`