--- 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.15.4 Content-Type: - application/json Authorization: - Basic secret response: status: code: 201 message: headers: server: - nginx/1.10.1 date: - Thu, 20 Feb 2020 17:14:53 GMT content-type: - application/json content-length: - '152' connection: - close status: - 201 Created access-control-allow-credentials: - 'true' body: encoding: UTF-8 string: '{"uuid":"ds_829c448a-5404-11ea-ab18-db11706d03de","name":"Data Source #1","system":"Import API","created_at":"2020-02-20T17:14:53.542Z","status":"idle"}' http_version: recorded_at: Thu, 20 Feb 2020 17:14:53 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_829c448a-5404-11ea-ab18-db11706d03de"}' headers: User-Agent: - Faraday v0.15.4 Content-Type: - application/json Authorization: - Basic secret response: status: code: 201 message: headers: server: - nginx/1.10.1 date: - Thu, 20 Feb 2020 17:14:54 GMT content-type: - application/json; charset=utf-8 transfer-encoding: - chunked connection: - close status: - 201 Created x-frame-options: - SAMEORIGIN x-xss-protection: - 1; mode=block x-content-type-options: - nosniff etag: - W/"902ad62e9093abc28f236ceffb652454" cache-control: - max-age=0, private, must-revalidate x-request-id: - 5e5445aa-cfaf-4b3f-b609-c06bdcdabf07 x-runtime: - '0.105219' strict-transport-security: - max-age=15768000 body: encoding: UTF-8 string: '{"external_id":"6f5f2e80-3632-0138-ca32-42eead14b4ad","name":"A Test Plan","interval_count":1,"interval_unit":"month","data_source_uuid":"ds_829c448a-5404-11ea-ab18-db11706d03de","uuid":"pl_6f5f2e80-3632-0138-ca32-42eead14b4ad"}' http_version: recorded_at: Thu, 20 Feb 2020 17:14:54 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_829c448a-5404-11ea-ab18-db11706d03de"}' headers: User-Agent: - Faraday v0.15.4 Content-Type: - application/json Authorization: - Basic secret response: status: code: 201 message: headers: server: - nginx/1.10.1 date: - Thu, 20 Feb 2020 17:14:54 GMT content-type: - application/json; charset=utf-8 transfer-encoding: - chunked connection: - close status: - 201 Created x-frame-options: - SAMEORIGIN x-xss-protection: - 1; mode=block x-content-type-options: - nosniff etag: - W/"7b328c6d0ef318c67e036f598a2b2554" cache-control: - max-age=0, private, must-revalidate x-request-id: - 0143f23d-cf20-4172-8821-e663d34e3ea3 x-runtime: - '0.171744' strict-transport-security: - max-age=15768000 body: encoding: UTF-8 string: '{"external_id":"6f8e4b20-3632-0138-f01e-62b37fb4c770","name":"A another Test Plan","interval_count":1,"interval_unit":"month","data_source_uuid":"ds_829c448a-5404-11ea-ab18-db11706d03de","uuid":"pl_6f8e4b20-3632-0138-f01e-62b37fb4c770"}' http_version: recorded_at: Thu, 20 Feb 2020 17:14:54 GMT - request: method: post uri: https://api.chartmogul.com/v1/plan_groups body: encoding: UTF-8 string: '{"name":"My plan group","plans":["pl_6f5f2e80-3632-0138-ca32-42eead14b4ad","pl_6f8e4b20-3632-0138-f01e-62b37fb4c770"]}' headers: User-Agent: - Faraday v0.15.4 Content-Type: - application/json Authorization: - Basic secret response: status: code: 200 message: headers: server: - nginx/1.10.1 date: - Thu, 20 Feb 2020 17:14:54 GMT content-type: - application/json; charset=utf-8 transfer-encoding: - chunked connection: - close vary: - Accept-Encoding, Accept-Encoding status: - 200 OK x-frame-options: - SAMEORIGIN x-xss-protection: - 1; mode=block x-content-type-options: - nosniff etag: - W/"8d079567f75302f08e366740c2dd92f4" cache-control: - max-age=0, private, must-revalidate x-request-id: - cc79c4d5-9a2a-4bda-ad92-1a935efe7938 x-runtime: - '0.073698' strict-transport-security: - max-age=15768000 body: encoding: ASCII-8BIT string: '{"name":"My plan group","uuid":"plg_b53fdbfc-c5eb-4a61-a589-85146cf8d0ab","plans_count":2}' http_version: recorded_at: Thu, 20 Feb 2020 17:14:54 GMT - request: method: get uri: https://api.chartmogul.com/v1/plan_groups/plg_b53fdbfc-c5eb-4a61-a589-85146cf8d0ab body: encoding: US-ASCII string: '' headers: User-Agent: - Faraday v0.15.4 Content-Type: - application/json Authorization: - Basic secret response: status: code: 200 message: headers: server: - nginx/1.10.1 date: - Thu, 20 Feb 2020 17:14:54 GMT content-type: - application/json; charset=utf-8 transfer-encoding: - chunked connection: - close vary: - Accept-Encoding, Accept-Encoding status: - 200 OK x-frame-options: - SAMEORIGIN x-xss-protection: - 1; mode=block x-content-type-options: - nosniff etag: - W/"8d079567f75302f08e366740c2dd92f4" cache-control: - max-age=0, private, must-revalidate x-request-id: - 8174e86d-fbe3-4deb-89bb-74267418428d x-runtime: - '0.069583' strict-transport-security: - max-age=15768000 body: encoding: ASCII-8BIT string: '{"name":"My plan group","uuid":"plg_b53fdbfc-c5eb-4a61-a589-85146cf8d0ab","plans_count":2}' http_version: recorded_at: Thu, 20 Feb 2020 17:14:54 GMT recorded_with: VCR 3.0.3