Sha256: af9595e7a238e9f3eb0ad0c637697e5c69422cd917c947ad0bf4e7953c0d8eb6

Contents?: true

Size: 1.81 KB

Versions: 3

Compression:

Stored size: 1.81 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: "<BRAZE_REST_URL>/users/export/segment"
    body:
      encoding: UTF-8
      string: '{"segment_id":"3aca937b-9bbc-4e42-9370-05e411967b2b","callback_endpoint":"https://example.com"}'
    headers:
      Content-Type:
      - application/json
      Accept:
      - application/json
      User-Agent:
      - Braze Ruby gem v0.3.3
      Authorization:
      - Bearer <BRAZE_REST_API_KEY>
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
  response:
    status:
      code: 201
      message: Created
    headers:
      Connection:
      - keep-alive
      Content-Length:
      - '196'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Content-Type:
      - application/json
      Etag:
      - W/"2e35da6e340b6bc894c81eb5d32fe5bd"
      Server:
      - nginx
      Strict-Transport-Security:
      - max-age=0; includeSubDomains
      - max-age=31536000; includeSubDomains
      X-Ratelimit-Limit:
      - '250000'
      X-Ratelimit-Remaining:
      - '249994'
      X-Ratelimit-Reset:
      - '1592427600'
      X-Request-Id:
      - 15c5b986-e83c-4fc5-bc7c-8245f2c10185
      X-Runtime:
      - '0.065960'
      Accept-Ranges:
      - bytes
      Date:
      - Wed, 17 Jun 2020 20:14:30 GMT
      Via:
      - 1.1 varnish
      X-Served-By:
      - cache-hhn4075-HHN
      X-Cache:
      - MISS
      X-Cache-Hits:
      - '0'
      X-Timer:
      - S1592424871.804901,VS0,VE69
      Vary:
      - Origin,Accept-Encoding
    body:
      encoding: ASCII-8BIT
      string: '{"object_prefix":"e739ed46-9cd7-4142-b70f-843b89c5ac80-1592424870","url":"https://appboy-eu-data-export.s3.amazonaws.com/Iw_2CAuI2mvAemo2jRTbG6IBUkzpJNBbYSMwPHO082o.zip","message":"success"}'
    http_version: 
  recorded_at: Wed, 17 Jun 2020 20:14:30 GMT
recorded_with: VCR 5.0.0

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
braze_ruby-0.4.2 spec/fixtures/responses/export_users/by_segment/with_success/responds_with_created.yml
braze_ruby-0.4.1 spec/fixtures/responses/export_users/by_segment/with_success/responds_with_created.yml
braze_ruby-0.4.0 spec/fixtures/responses/export_users/by_segment/with_success/responds_with_created.yml