--- http_interactions: - request: method: get uri: https://gitlab.com/api/v4/projects/donaldduck%2Ftestproject/merge_requests?source_branch=mybranch body: encoding: US-ASCII string: '' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Host: - gitlab.com Private-Token: - "" response: status: code: 200 message: OK headers: Server: - nginx Date: - Mon, 25 Mar 2019 11:44:35 GMT Content-Type: - application/json Content-Length: - '1188' Cache-Control: - max-age=0, private, must-revalidate Etag: - W/"ed3d49f8811d744a6429bb3c90f615d6" Link: - ; rel="first", ; rel="last" Vary: - Origin X-Content-Type-Options: - nosniff X-Frame-Options: - SAMEORIGIN X-Next-Page: - '' X-Page: - '1' X-Per-Page: - '20' X-Prev-Page: - '' X-Request-Id: - cX2JhRXZHh3 X-Runtime: - '0.074870' X-Total: - '1' X-Total-Pages: - '1' Strict-Transport-Security: - max-age=31536000 Ratelimit-Limit: - '600' Ratelimit-Observed: - '1' Ratelimit-Remaining: - '599' Ratelimit-Reset: - '1553514335' Ratelimit-Resettime: - Tue, 25 Mar 2019 11:45:35 GMT body: encoding: UTF-8 string: '[{"id":12345690,"iid":4,"project_id":1234569,"title":"Delete pizza","description":"","state":"opened","created_at":"2019-03-25T11:44:15.881Z","updated_at":"2019-03-25T11:44:15.881Z","merged_by":null,"merged_at":null,"closed_by":null,"closed_at":null,"target_branch":"master","source_branch":"mybranch","user_notes_count":0,"upvotes":0,"downvotes":0,"author":{"id":1234561,"name":"Donald Duck","username":"donaldduck","state":"active","avatar_url":"https://secure.gravatar.com/avatar/0123456789abcdef05ea2797cb94a5b0?s=80\u0026d=identicon","web_url":"https://gitlab.com/donaldduck"},"assignee":null,"source_project_id":1234569,"target_project_id":1234569,"labels":[],"work_in_progress":false,"milestone":null,"merge_when_pipeline_succeeds":false,"merge_status":"can_be_merged","sha":"9a845eec03092a38707eaecaa0a1d71aa05a1bff","merge_commit_sha":null,"discussion_locked":null,"should_remove_source_branch":null,"force_remove_source_branch":false,"web_url":"https://gitlab.com/donaldduck/testproject/merge_requests/4","time_stats":{"time_estimate":0,"total_time_spent":0,"human_time_estimate":null,"human_total_time_spent":null},"squash":false,"approvals_before_merge":null}]' http_version: recorded_at: Mon, 25 Mar 2019 11:44:35 GMT - request: method: put uri: https://gitlab.com/api/v4/projects/donaldduck%2Ftestproject/merge_requests/4/merge body: encoding: UTF-8 string: '' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Host: - gitlab.com Private-Token: - "" response: status: code: 200 message: OK headers: Server: - nginx Date: - Mon, 25 Mar 2019 11:44:37 GMT Content-Type: - application/json Content-Length: - '1855' Cache-Control: - max-age=0, private, must-revalidate Etag: - W/"0953f932a542fa60616d9cd2eb521226" Vary: - Origin X-Content-Type-Options: - nosniff X-Frame-Options: - SAMEORIGIN X-Request-Id: - EtYFTByIBFa X-Runtime: - '1.315189' Strict-Transport-Security: - max-age=31536000 Ratelimit-Limit: - '600' Ratelimit-Observed: - '2' Ratelimit-Remaining: - '598' Ratelimit-Reset: - '1553514337' Ratelimit-Resettime: - Tue, 25 Mar 2019 11:45:37 GMT body: encoding: UTF-8 string: '{"id":12345690,"iid":4,"project_id":1234569,"title":"Delete pizza","description":"","state":"merged","created_at":"2019-03-25T11:44:15.881Z","updated_at":"2019-03-25T11:44:37.343Z","merged_by":{"id":1234561,"name":"Donald Duck","username":"donaldduck","state":"active","avatar_url":"https://secure.gravatar.com/avatar/0123456789abcdef05ea2797cb94a5b0?s=80\u0026d=identicon","web_url":"https://gitlab.com/donaldduck"},"merged_at":"2019-03-25T11:44:37.381Z","closed_by":null,"closed_at":null,"target_branch":"master","source_branch":"mybranch","user_notes_count":0,"upvotes":0,"downvotes":0,"author":{"id":1234561,"name":"Donald Duck","username":"donaldduck","state":"active","avatar_url":"https://secure.gravatar.com/avatar/0123456789abcdef05ea2797cb94a5b0?s=80\u0026d=identicon","web_url":"https://gitlab.com/donaldduck"},"assignee":null,"source_project_id":1234569,"target_project_id":1234569,"labels":[],"work_in_progress":false,"milestone":null,"merge_when_pipeline_succeeds":false,"merge_status":"can_be_merged","sha":"9a845eec03092a38707eaecaa0a1d71aa05a1bff","merge_commit_sha":"f2bfcfaaad7211e42662978616ca655c5200f8e0","discussion_locked":null,"should_remove_source_branch":null,"force_remove_source_branch":false,"web_url":"https://gitlab.com/donaldduck/testproject/merge_requests/4","time_stats":{"time_estimate":0,"total_time_spent":0,"human_time_estimate":null,"human_total_time_spent":null},"squash":false,"subscribed":true,"changes_count":"1","latest_build_started_at":null,"latest_build_finished_at":null,"first_deployed_to_production_at":null,"pipeline":null,"diff_refs":{"base_sha":"619b12ce4162cf7bb30c5e64f860ba14318f3098","head_sha":"9a845eec03092a38707eaecaa0a1d71aa05a1bff","start_sha":"619b12ce4162cf7bb30c5e64f860ba14318f3098"},"merge_error":null,"user":{"can_merge":true},"approvals_before_merge":null}' http_version: recorded_at: Mon, 25 Mar 2019 11:44:37 GMT recorded_with: VCR 3.0.3