--- http_interactions: - request: method: post uri: https://api.chartmogul.com/v1/data_sources body: encoding: UTF-8 string: '{"name":"Data Source #1"}' headers: User-Agent: - Faraday v0.17.3 Content-Type: - application/json Authorization: - Basic hidden Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 201 message: Created headers: Server: - nginx/1.10.1 Date: - Thu, 23 Jul 2020 12:34:26 GMT Content-Type: - application/json Transfer-Encoding: - chunked Connection: - keep-alive Status: - 201 Created Access-Control-Allow-Credentials: - 'true' body: encoding: UTF-8 string: '{"uuid":"ds_d83adf5a-cce0-11ea-a43a-0bee9fce502d","name":"Data Source #1","system":"Import API","created_at":"2020-07-23T12:34:26.033Z","status":"idle"}' http_version: null recorded_at: Thu, 23 Jul 2020 12:34:26 GMT - request: method: post uri: https://api.chartmogul.com/v1/plans body: encoding: UTF-8 string: '{"name":"A Test Plan","interval_count":1,"interval_unit":"month","data_source_uuid":"ds_d83adf5a-cce0-11ea-a43a-0bee9fce502d"}' headers: User-Agent: - Faraday v0.17.3 Content-Type: - application/json Authorization: - Basic hidden Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 201 message: Created headers: Server: - nginx/1.10.1 Date: - Thu, 23 Jul 2020 12:34:27 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive Status: - 201 Created X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff X-Download-Options: - noopen X-Permitted-Cross-Domain-Policies: - none Referrer-Policy: - strict-origin-when-cross-origin Etag: - W/"c69ec995cb9bab078fd6c88a194a33e0" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 21bb8417-4520-4b9f-aded-46d155615e98 X-Runtime: - '0.119008' Strict-Transport-Security: - max-age=15768000 body: encoding: UTF-8 string: '{"external_id":"c5723000-af0e-0138-d912-62b37fb4c770","name":"A Test Plan","interval_count":1,"interval_unit":"month","data_source_uuid":"ds_d83adf5a-cce0-11ea-a43a-0bee9fce502d","uuid":"pl_c5723000-af0e-0138-d912-62b37fb4c770"}' http_version: null recorded_at: Thu, 23 Jul 2020 12:34:27 GMT - request: method: post uri: https://api.chartmogul.com/v1/plans body: encoding: UTF-8 string: '{"name":"A another Test Plan","interval_count":1,"interval_unit":"month","data_source_uuid":"ds_d83adf5a-cce0-11ea-a43a-0bee9fce502d"}' headers: User-Agent: - Faraday v0.17.3 Content-Type: - application/json Authorization: - Basic hidden Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 201 message: Created headers: Server: - nginx/1.10.1 Date: - Thu, 23 Jul 2020 12:34:28 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive Status: - 201 Created X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff X-Download-Options: - noopen X-Permitted-Cross-Domain-Policies: - none Referrer-Policy: - strict-origin-when-cross-origin Etag: - W/"392434626ecc2ec07e9bb64179d07e58" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - f9570c06-bfc2-4cce-b9e2-ec2ad88e2a1a X-Runtime: - '0.114808' Strict-Transport-Security: - max-age=15768000 body: encoding: UTF-8 string: '{"external_id":"c61dc800-af0e-0138-1702-4e501129bd4a","name":"A another Test Plan","interval_count":1,"interval_unit":"month","data_source_uuid":"ds_d83adf5a-cce0-11ea-a43a-0bee9fce502d","uuid":"pl_c61dc800-af0e-0138-1702-4e501129bd4a"}' http_version: null recorded_at: Thu, 23 Jul 2020 12:34:28 GMT - request: method: post uri: https://api.chartmogul.com/v1/plan_groups body: encoding: UTF-8 string: '{"name":"My plan group","plans":["pl_c5723000-af0e-0138-d912-62b37fb4c770","pl_c61dc800-af0e-0138-1702-4e501129bd4a"]}' headers: User-Agent: - Faraday v0.17.3 Content-Type: - application/json Authorization: - Basic hidden Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 200 message: OK headers: Server: - nginx/1.10.1 Date: - Thu, 23 Jul 2020 12:34:29 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive Vary: - Accept-Encoding - Accept-Encoding Status: - 200 OK X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff X-Download-Options: - noopen X-Permitted-Cross-Domain-Policies: - none Referrer-Policy: - strict-origin-when-cross-origin Etag: - W/"1b33f81c506f9371501c358293e5c25e" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 96425a8f-ad6a-4d43-883a-28809e5e8fd2 X-Runtime: - '0.055173' Strict-Transport-Security: - max-age=15768000 body: encoding: ASCII-8BIT string: '{"name":"My plan group","uuid":"plg_36d737ca-b021-4fc7-a8ee-8636fb6db2cc","plans_count":2}' http_version: null recorded_at: Thu, 23 Jul 2020 12:34:29 GMT - request: method: patch uri: https://api.chartmogul.com/v1/plan_groups/plg_36d737ca-b021-4fc7-a8ee-8636fb6db2cc body: encoding: UTF-8 string: '{"name":"A new group name"}' headers: User-Agent: - Faraday v0.17.3 Content-Type: - application/json Authorization: - Basic hidden Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 200 message: OK headers: Server: - nginx/1.10.1 Date: - Thu, 23 Jul 2020 12:34:30 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive Vary: - Accept-Encoding - Accept-Encoding Status: - 200 OK X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff X-Download-Options: - noopen X-Permitted-Cross-Domain-Policies: - none Referrer-Policy: - strict-origin-when-cross-origin Etag: - W/"b12ead83619d709fd1285016e6daec9b" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 27ca96d6-4e17-4c89-b030-6fcae8131bb3 X-Runtime: - '0.044140' Strict-Transport-Security: - max-age=15768000 body: encoding: ASCII-8BIT string: '{"name":"A new group name","uuid":"plg_36d737ca-b021-4fc7-a8ee-8636fb6db2cc","plans_count":2}' http_version: null recorded_at: Thu, 23 Jul 2020 12:34:30 GMT recorded_with: VCR 5.1.0