{"action":"created","issue":{"url":"https://api.github.com/repos/bethesque/pact_broker/issues/52","repository_url":"https://api.github.com/repos/bethesque/pact_broker","labels_url":"https://api.github.com/repos/bethesque/pact_broker/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/bethesque/pact_broker/issues/52/comments","events_url":"https://api.github.com/repos/bethesque/pact_broker/issues/52/events","html_url":"https://github.com/bethesque/pact_broker/pull/52","id":168189517,"number":52,"title":"Add ability to merge pacts via PATCH requests","user":{"login":"ThePletch","id":4468322,"avatar_url":"https://avatars.githubusercontent.com/u/4468322?v=3","gravatar_id":"","url":"https://api.github.com/users/ThePletch","html_url":"https://github.com/ThePletch","followers_url":"https://api.github.com/users/ThePletch/followers","following_url":"https://api.github.com/users/ThePletch/following{/other_user}","gists_url":"https://api.github.com/users/ThePletch/gists{/gist_id}","starred_url":"https://api.github.com/users/ThePletch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThePletch/subscriptions","organizations_url":"https://api.github.com/users/ThePletch/orgs","repos_url":"https://api.github.com/users/ThePletch/repos","events_url":"https://api.github.com/users/ThePletch/events{/privacy}","received_events_url":"https://api.github.com/users/ThePletch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-07-28T20:32:08Z","updated_at":"2016-09-19T03:20:23Z","closed_at":"2016-08-01T07:42:44Z","pull_request":{"url":"https://api.github.com/repos/bethesque/pact_broker/pulls/52","html_url":"https://github.com/bethesque/pact_broker/pull/52","diff_url":"https://github.com/bethesque/pact_broker/pull/52.diff","patch_url":"https://github.com/bethesque/pact_broker/pull/52.patch"},"body":"Adds new endpoint `PATCH /pacts/provider/:provider_name/consumer/:consumer_name/versions/:consumer_version_number` that merges the same-version pact with an existing pact. Endpoint has identical restrictions and contract to the `PUT` method at the same path, differing only in function."},"comment":{"url":"https://api.github.com/repos/bethesque/pact_broker/issues/comments/247905212","html_url":"https://github.com/bethesque/pact_broker/pull/52#issuecomment-247905212","issue_url":"https://api.github.com/repos/bethesque/pact_broker/issues/52","id":247905212,"user":{"login":"bethesque","id":446228,"avatar_url":"https://avatars.githubusercontent.com/u/446228?v=3","gravatar_id":"","url":"https://api.github.com/users/bethesque","html_url":"https://github.com/bethesque","followers_url":"https://api.github.com/users/bethesque/followers","following_url":"https://api.github.com/users/bethesque/following{/other_user}","gists_url":"https://api.github.com/users/bethesque/gists{/gist_id}","starred_url":"https://api.github.com/users/bethesque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bethesque/subscriptions","organizations_url":"https://api.github.com/users/bethesque/orgs","repos_url":"https://api.github.com/users/bethesque/repos","events_url":"https://api.github.com/users/bethesque/events{/privacy}","received_events_url":"https://api.github.com/users/bethesque/received_events","type":"User","site_admin":false},"created_at":"2016-09-19T03:20:23Z","updated_at":"2016-09-19T03:20:23Z","body":"The only other option would be to only do it when an existing pact doesn't already exist. Not sure which is better."}}
{"actor":{"display_login":"bethesque"}}