--- http_interactions: - request: method: get uri: https://api.contentful.com/spaces/yr5m0jky5hsh body: encoding: US-ASCII string: '' headers: User-Agent: - RubyContenfulManagementGem/0.0.1 Authorization: - Bearer Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '0' Host: - api.contentful.com response: status: code: 200 message: OK headers: Server: - nginx Date: - Wed, 30 Jul 2014 11:17:12 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '450' Connection: - keep-alive Status: - 200 OK X-Contentful-Request-Id: - 85f-1334314829 Etag: - '"1c1abb03603977c6748b4b47160384dd"' Accept-Ranges: - bytes Cache-Control: - max-age=0 Access-Control-Allow-Origin: - "*" 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: - DELETE,GET,HEAD,POST,PUT,OPTIONS "^access-Control-Expose-Headers": - Etag Access-Control-Max-Age: - '1728000' body: encoding: UTF-8 string: | { "sys":{ "type":"Space", "id":"yr5m0jky5hsh", "version":5, "createdBy":{ "sys":{ "type":"Link", "linkType":"User", "id":"0fn5fOWn4WsKFyYla1gI5h" } }, "createdAt":"2014-07-30T07:46:19Z", "updatedBy":{ "sys":{ "type":"Link", "linkType":"User", "id":"1E7acJL8I5XUXAMHQt9Grs" } }, "updatedAt":"2014-07-30T11:02:15Z" }, "name":"BlogSpace"} http_version: recorded_at: Wed, 30 Jul 2014 11:17:12 GMT - request: method: get uri: https://api.contentful.com/spaces/yr5m0jky5hsh/content_types body: encoding: US-ASCII string: '' headers: User-Agent: - RubyContenfulManagementGem/0.0.1 Authorization: - Bearer Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '0' Host: - api.contentful.com response: status: code: 200 message: OK headers: Server: - nginx Date: - Wed, 30 Jul 2014 11:17:13 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '1700' Connection: - keep-alive X-Powered-By: - Express Cf-Space-Id: - yr5m0jky5hsh Etag: - '"218c882ffa02b10edf3e31f158c6ea4a"' Access-Control-Allow-Origin: - "*" 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: - DELETE,GET,HEAD,POST,PUT,OPTIONS "^access-Control-Expose-Headers": - Etag Access-Control-Max-Age: - '1728000' body: encoding: UTF-8 string: | { "sys": { "type": "Array" }, "total": 2, "skip": 0, "limit": 100, "items": [ { "name": "TestingContentType", "description": null, "fields": [], "sys": { "id": "3Pv6UOQy9ikic4qOmmiU8i", "type": "ContentType", "createdAt": "2014-07-30T11:08:57.603Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "yr5m0jky5hsh" } }, "version": 1, "updatedAt": "2014-07-30T11:08:57.606Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } } }, { "name": "ContentTypeForSpace", "description": null, "fields": [], "sys": { "id": "2sdtNnLWwoIgowCM0wsW2G", "type": "ContentType", "createdAt": "2014-07-30T11:12:15.070Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "yr5m0jky5hsh" } }, "version": 1, "updatedAt": "2014-07-30T11:12:15.073Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } } } ] } http_version: recorded_at: Wed, 30 Jul 2014 11:17:13 GMT - request: method: get uri: https://api.contentful.com/spaces/yr5m0jky5hsh/content_types body: encoding: US-ASCII string: '' headers: User-Agent: - RubyContenfulManagementGem/0.0.1 Authorization: - Bearer Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '0' Host: - api.contentful.com response: status: code: 200 message: OK headers: Server: - nginx Date: - Wed, 30 Jul 2014 11:17:14 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '1700' Connection: - keep-alive X-Powered-By: - Express Cf-Space-Id: - yr5m0jky5hsh Etag: - '"218c882ffa02b10edf3e31f158c6ea4a"' Access-Control-Allow-Origin: - "*" 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: - DELETE,GET,HEAD,POST,PUT,OPTIONS "^access-Control-Expose-Headers": - Etag Access-Control-Max-Age: - '1728000' body: encoding: UTF-8 string: | { "sys": { "type": "Array" }, "total": 2, "skip": 0, "limit": 100, "items": [ { "name": "TestingContentType", "description": null, "fields": [], "sys": { "id": "3Pv6UOQy9ikic4qOmmiU8i", "type": "ContentType", "createdAt": "2014-07-30T11:08:57.603Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "yr5m0jky5hsh" } }, "version": 1, "updatedAt": "2014-07-30T11:08:57.606Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } } }, { "name": "ContentTypeForSpace", "description": null, "fields": [], "sys": { "id": "2sdtNnLWwoIgowCM0wsW2G", "type": "ContentType", "createdAt": "2014-07-30T11:12:15.070Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "yr5m0jky5hsh" } }, "version": 1, "updatedAt": "2014-07-30T11:12:15.073Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } } } ] } http_version: recorded_at: Wed, 30 Jul 2014 11:17:14 GMT - request: method: post uri: https://api.contentful.com/spaces/yr5m0jky5hsh/content_types/ body: encoding: UTF-8 string: '{"name":"ContentTypeForSpace","description":null,"fields":[]}' headers: User-Agent: - RubyContenfulManagementGem/0.0.1 Authorization: - Bearer Content-Type: - application/vnd.contentful.management.v1+json Host: - api.contentful.com response: status: code: 201 message: Created headers: Server: - nginx Date: - Wed, 30 Jul 2014 11:17:14 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '668' Connection: - keep-alive X-Powered-By: - Express Cf-Space-Id: - yr5m0jky5hsh Etag: - '"2f33aeb558a6cd1e0e0e327b1050b4e5"' Access-Control-Allow-Origin: - "*" 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: - DELETE,GET,HEAD,POST,PUT,OPTIONS "^access-Control-Expose-Headers": - Etag Access-Control-Max-Age: - '1728000' body: encoding: UTF-8 string: | { "name": "ContentTypeForSpace", "description": null, "fields": [], "sys": { "id": "1AZQOWKr2I8W2ugY0KiGEU", "type": "ContentType", "version": 1, "createdAt": "2014-07-30T11:17:14.857Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "yr5m0jky5hsh" } }, "updatedAt": "2014-07-30T11:17:14.857Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } } } http_version: recorded_at: Wed, 30 Jul 2014 11:17:14 GMT recorded_with: VCR 2.9.2