---
http_interactions:
- request:
    method: get
    uri: https://cdn.contentful.com/spaces/cfexampleapi/environments/master/sync?initial=true
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - RubyContentfulGem/0.1.3
      Authorization:
      - Bearer b4c0n73n7fu1
      Content-Type:
      - application/vnd.contentful.delivery.v1+json
      Host:
      - cdn.contentful.com
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Mon, 21 Apr 2014 19:52:28 GMT
      Server:
      - nginx/1.1.19
      Access-Control-Allow-Headers:
      - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization
      Access-Control-Allow-Methods:
      - GET,HEAD,OPTIONS
      Access-Control-Allow-Origin:
      - "*"
      Access-Control-Max-Age:
      - '86400'
      Cache-Control:
      - max-age=0
      Content-Type:
      - application/vnd.contentful.delivery.v1+json
      Etag:
      - '"8cc03113b9eb6da94926dd27dda2f601"'
      X-Contentful-Request-Id:
      - 85f-649737436
      Content-Length:
      - '13208'
      Accept-Ranges:
      - bytes
      Via:
      - 1.1 varnish
      Age:
      - '0'
      X-Served-By:
      - cache-fra1225-FRA
      X-Cache:
      - MISS
      X-Cache-Hits:
      - '0'
      Vary:
      - Accept-Encoding
    body:
      encoding: UTF-8
      string: |
        {
          "sys": {
            "type": "Array"
          },
          "items": [
            {
              "sys": {
                "space": {
                  "sys": {
                    "type": "Link",
                    "linkType": "Space",
                    "id": "cfexampleapi"
                  }
                },
                "type": "Entry",
                "contentType": {
                  "sys": {
                    "type": "Link",
                    "linkType": "ContentType",
                    "id": "1t9IbcfdCk6m04uISSsaIK"
                  }
                },
                "id": "5ETMRzkl9KM4omyMwKAOki",
                "revision": 2,
                "createdAt": "2014-02-21T13:42:57.752Z",
                "updatedAt": "2014-04-16T12:44:02.691Z"
              },
              "fields": {
                "name": {
                  "en-US": "London"
                },
                "center": {
                  "en-US": {
                    "lat": 51.508515,
                    "lon": -0.12548719999995228
                  }
                }
              }
            },
            {
              "sys": {
                "space": {
                  "sys": {
                    "type": "Link",
                    "linkType": "Space",
                    "id": "cfexampleapi"
                  }
                },
                "type": "Entry",
                "contentType": {
                  "sys": {
                    "type": "Link",
                    "linkType": "ContentType",
                    "id": "1t9IbcfdCk6m04uISSsaIK"
                  }
                },
                "id": "7qVBlCjpWE86Oseo40gAEY",
                "revision": 2,
                "createdAt": "2014-02-21T13:43:38.258Z",
                "updatedAt": "2014-04-15T08:22:22.010Z"
              },
              "fields": {
                "name": {
                  "en-US": "San Francisco"
                },
                "center": {
                  "en-US": {
                    "lat": 37.7749295,
                    "lon": -122.41941550000001
                  }
                }
              }
            },
            {
              "sys": {
                "space": {
                  "sys": {
                    "type": "Link",
                    "linkType": "Space",
                    "id": "cfexampleapi"
                  }
                },
                "type": "Entry",
                "contentType": {
                  "sys": {
                    "type": "Link",
                    "linkType": "ContentType",
                    "id": "1t9IbcfdCk6m04uISSsaIK"
                  }
                },
                "id": "ge1xHyH3QOWucKWCCAgIG",
                "revision": 1,
                "createdAt": "2014-02-21T13:43:23.210Z",
                "updatedAt": "2014-02-21T13:43:23.210Z"
              },
              "fields": {
                "name": {
                  "en-US": "Paris"
                },
                "center": {
                  "en-US": {
                    "lat": 48.856614,
                    "lon": 2.3522219000000177
                  }
                }
              }
            },
            {
              "sys": {
                "space": {
                  "sys": {
                    "type": "Link",
                    "linkType": "Space",
                    "id": "cfexampleapi"
                  }
                },
                "type": "Entry",
                "contentType": {
                  "sys": {
                    "type": "Link",
                    "linkType": "ContentType",
                    "id": "1t9IbcfdCk6m04uISSsaIK"
                  }
                },
                "id": "4MU1s3potiUEM2G4okYOqw",
                "revision": 1,
                "createdAt": "2014-02-21T13:42:45.926Z",
                "updatedAt": "2014-02-21T13:42:45.926Z"
              },
              "fields": {
                "name": {
                  "en-US": "Berlin"
                },
                "center": {
                  "en-US": {
                    "lat": 52.52000659999999,
                    "lon": 13.404953999999975
                  }
                }
              }
            },
            {
              "sys": {
                "space": {
                  "sys": {
                    "type": "Link",
                    "linkType": "Space",
                    "id": "cfexampleapi"
                  }
                },
                "type": "Asset",
                "id": "1x0xpXu4pSGS4OukSyWGUK",
                "revision": 6,
                "createdAt": "2013-11-06T09:45:10.000Z",
                "updatedAt": "2013-12-18T13:27:14.917Z"
              },
              "fields": {
                "title": {
                  "en-US": "Doge"
                },
                "file": {
                  "en-US": {
                    "fileName": "doge.jpg",
                    "contentType": "image/jpeg",
                    "details": {
                      "image": {
                        "width": 5800,
                        "height": 4350
                      },
                      "size": 522943
                    },
                    "url": "//images.contentful.com/cfexampleapi/1x0xpXu4pSGS4OukSyWGUK/cc1239c6385428ef26f4180190532818/doge.jpg"
                  }
                },
                "description": {
                  "en-US": "nice picture"
                }
              }
            },
            {
              "fields": {
                "name": {
                  "en-US": "Jake"
                },
                "description": {
                  "en-US": "Bacon pancakes, makin' bacon pancakes!"
                },
                "image": {
                  "en-US": {
                    "sys": {
                      "type": "Link",
                      "linkType": "Asset",
                      "id": "jake"
                    }
                  }
                }
              },
              "sys": {
                "space": {
                  "sys": {
                    "type": "Link",
                    "linkType": "Space",
                    "id": "cfexampleapi"
                  }
                },
                "type": "Entry",
                "contentType": {
                  "sys": {
                    "type": "Link",
                    "linkType": "ContentType",
                    "id": "dog"
                  }
                },
                "id": "jake",
                "revision": 5,
                "createdAt": "2013-06-27T22:46:22.096Z",
                "updatedAt": "2013-12-18T13:10:26.212Z"
              }
            },
            {
              "fields": {
                "name": {
                  "en-US": "Happy Cat",
                  "tlh": "Quch vIghro'"
                },
                "bestFriend": {
                  "en-US": {
                    "sys": {
                      "type": "Link",
                      "linkType": "Entry",
                      "id": "nyancat"
                    }
                  }
                },
                "likes": {
                  "en-US": [
                    "cheezburger"
                  ]
                },
                "color": {
                  "en-US": "gray"
                },
                "birthday": {
                  "en-US": "2003-10-28T23:00:00+00:00"
                },
                "lives": {
                  "en-US": 1
                },
                "image": {
                  "en-US": {
                    "sys": {
                      "type": "Link",
                      "linkType": "Asset",
                      "id": "happycat"
                    }
                  }
                }
              },
              "sys": {
                "space": {
                  "sys": {
                    "type": "Link",
                    "linkType": "Space",
                    "id": "cfexampleapi"
                  }
                },
                "type": "Entry",
                "contentType": {
                  "sys": {
                    "type": "Link",
                    "linkType": "ContentType",
                    "id": "cat"
                  }
                },
                "id": "happycat",
                "revision": 8,
                "createdAt": "2013-06-27T22:46:20.171Z",
                "updatedAt": "2013-11-18T15:58:02.018Z"
              }
            },
            {
              "sys": {
                "space": {
                  "sys": {
                    "type": "Link",
                    "linkType": "Space",
                    "id": "cfexampleapi"
                  }
                },
                "type": "Entry",
                "contentType": {
                  "sys": {
                    "type": "Link",
                    "linkType": "ContentType",
                    "id": "dog"
                  }
                },
                "id": "6KntaYXaHSyIw8M6eo26OK",
                "revision": 2,
                "createdAt": "2013-11-06T09:45:27.475Z",
                "updatedAt": "2013-11-18T09:13:37.808Z"
              },
              "fields": {
                "name": {
                  "en-US": "Doge"
                },
                "image": {
                  "en-US": {
                    "sys": {
                      "type": "Link",
                      "linkType": "Asset",
                      "id": "1x0xpXu4pSGS4OukSyWGUK"
                    }
                  }
                },
                "description": {
                  "en-US": "such json\nwow"
                }
              }
            },
            {
              "fields": {
                "name": {
                  "en-US": "Finn"
                },
                "description": {
                  "en-US": "Fearless adventurer! Defender of pancakes."
                },
                "likes": {
                  "en-US": [
                    "adventure"
                  ]
                },
                "image": {}
              },
              "sys": {
                "space": {
                  "sys": {
                    "type": "Link",
                    "linkType": "Space",
                    "id": "cfexampleapi"
                  }
                },
                "type": "Entry",
                "contentType": {
                  "sys": {
                    "type": "Link",
                    "linkType": "ContentType",
                    "id": "human"
                  }
                },
                "id": "finn",
                "revision": 6,
                "createdAt": "2013-06-27T22:46:21.450Z",
                "updatedAt": "2013-09-09T16:15:01.297Z"
              }
            },
            {
              "fields": {
                "name": {
                  "en-US": "Nyan Cat",
                  "tlh": "Nyan vIghro'"
                },
                "likes": {
                  "en-US": [
                    "rainbows",
                    "fish"
                  ]
                },
                "color": {
                  "en-US": "rainbow"
                },
                "bestFriend": {
                  "en-US": {
                    "sys": {
                      "type": "Link",
                      "linkType": "Entry",
                      "id": "happycat"
                    }
                  }
                },
                "birthday": {
                  "en-US": "2011-04-04T22:00:00+00:00"
                },
                "lives": {
                  "en-US": 1337
                },
                "image": {
                  "en-US": {
                    "sys": {
                      "type": "Link",
                      "linkType": "Asset",
                      "id": "nyancat"
                    }
                  }
                }
              },
              "sys": {
                "space": {
                  "sys": {
                    "type": "Link",
                    "linkType": "Space",
                    "id": "cfexampleapi"
                  }
                },
                "type": "Entry",
                "contentType": {
                  "sys": {
                    "type": "Link",
                    "linkType": "ContentType",
                    "id": "cat"
                  }
                },
                "id": "nyancat",
                "revision": 5,
                "createdAt": "2013-06-27T22:46:19.513Z",
                "updatedAt": "2013-09-04T09:19:39.027Z"
              }
            },
            {
              "fields": {
                "title": {
                  "en-US": "Jake"
                },
                "file": {
                  "en-US": {
                    "fileName": "jake.png",
                    "contentType": "image/png",
                    "details": {
                      "image": {
                        "width": 100,
                        "height": 161
                      },
                      "size": 20480
                    },
                    "url": "//images.contentful.com/cfexampleapi/4hlteQAXS8iS0YCMU6QMWg/2a4d826144f014109364ccf5c891d2dd/jake.png"
                  }
                }
              },
              "sys": {
                "space": {
                  "sys": {
                    "type": "Link",
                    "linkType": "Space",
                    "id": "cfexampleapi"
                  }
                },
                "type": "Asset",
                "id": "jake",
                "revision": 2,
                "createdAt": "2013-09-02T14:56:34.260Z",
                "updatedAt": "2013-09-02T15:22:39.466Z"
              }
            },
            {
              "fields": {
                "file": {
                  "en-US": {
                    "fileName": "happycatw.jpg",
                    "contentType": "image/jpeg",
                    "details": {
                      "image": {
                        "width": 273,
                        "height": 397
                      },
                      "size": 59939
                    },
                    "url": "//images.contentful.com/cfexampleapi/3MZPnjZTIskAIIkuuosCss/382a48dfa2cb16c47aa2c72f7b23bf09/happycatw.jpg"
                  }
                },
                "title": {
                  "en-US": "Happy Cat"
                }
              },
              "sys": {
                "space": {
                  "sys": {
                    "type": "Link",
                    "linkType": "Space",
                    "id": "cfexampleapi"
                  }
                },
                "type": "Asset",
                "id": "happycat",
                "revision": 2,
                "createdAt": "2013-09-02T14:56:34.267Z",
                "updatedAt": "2013-09-02T15:11:24.361Z"
              }
            },
            {
              "fields": {
                "title": {
                  "en-US": "Nyan Cat"
                },
                "file": {
                  "en-US": {
                    "fileName": "Nyan_cat_250px_frame.png",
                    "contentType": "image/png",
                    "details": {
                      "image": {
                        "width": 250,
                        "height": 250
                      },
                      "size": 12273
                    },
                    "url": "//images.contentful.com/cfexampleapi/4gp6taAwW4CmSgumq2ekUm/9da0cd1936871b8d72343e895a00d611/Nyan_cat_250px_frame.png"
                  }
                }
              },
              "sys": {
                "space": {
                  "sys": {
                    "type": "Link",
                    "linkType": "Space",
                    "id": "cfexampleapi"
                  }
                },
                "type": "Asset",
                "id": "nyancat",
                "revision": 1,
                "createdAt": "2013-09-02T14:56:34.240Z",
                "updatedAt": "2013-09-02T14:56:34.240Z"
              }
            },
            {
              "fields": {
                "name": {
                  "en-US": "Garfield",
                  "tlh": "Garfield"
                },
                "likes": {
                  "en-US": [
                    "lasagna"
                  ]
                },
                "color": {
                  "en-US": "orange"
                },
                "lifes": {
                  "en-US": null
                },
                "lives": {
                  "en-US": 9
                },
                "birthday": {
                  "en-US": "1979-06-18T23:00:00+00:00"
                }
              },
              "sys": {
                "space": {
                  "sys": {
                    "type": "Link",
                    "linkType": "Space",
                    "id": "cfexampleapi"
                  }
                },
                "type": "Entry",
                "contentType": {
                  "sys": {
                    "type": "Link",
                    "linkType": "ContentType",
                    "id": "cat"
                  }
                },
                "id": "garfield",
                "revision": 2,
                "createdAt": "2013-06-27T22:46:20.821Z",
                "updatedAt": "2013-08-27T10:09:07.929Z"
              }
            }
          ],
          "nextPageUrl": "https://cdn.contentful.com/spaces/cfexampleapi/environments/master/sync?sync_token=w5ZGw6JFwqZmVcKsE8Kow4grw45QdybCr8Okw6AYwqbDksO3ehvDpUPCgcKsKXbCiAwPC8K2w4LDvsOkw6nCjhPDpcOQADElWsOoU8KGR3HCtsOAwqd6wp_Dulp8w6LDsF_CtsK7Kk05wrMvwrLClMOgG2_Dn2sGPg"
        }
    http_version:
  recorded_at: Mon, 21 Apr 2014 19:52:28 GMT
recorded_with: VCR 2.9.0
