--- http_interactions: - request: method: get uri: https://api.contentful.com/spaces/yr5m0jky5hsh/content_types/6xzrdCr33OMAeIYUgs6UKi 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: - Thu, 31 Jul 2014 10:36:46 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '1221' Connection: - keep-alive X-Powered-By: - Express Cf-Space-Id: - yr5m0jky5hsh Etag: - '"1de33a2c7075027289dfede8a441b033"' 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": "Blog", "description": "Blog's content type", "fields": [ { "id": "blog_name", "name": "blog_name", "type": "Text" }, { "id": "blog_entries", "name": "Entries", "type": "Array", "items": { "type": "Link", "linkType": "Entry" } } ], "sys": { "id": "6xzrdCr33OMAeIYUgs6UKi", "type": "ContentType", "createdAt": "2014-07-31T10:33:50.934Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "yr5m0jky5hsh" } }, "firstPublishedAt": "2014-07-31T10:34:14.463Z", "publishedCounter": 2, "publishedAt": "2014-07-31T10:35:45.237Z", "publishedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "publishedVersion": 47, "version": 48, "updatedAt": "2014-07-31T10:35:45.242Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } } } http_version: recorded_at: Thu, 31 Jul 2014 10:36:46 GMT - request: method: put uri: https://api.contentful.com/spaces/yr5m0jky5hsh/content_types/6xzrdCr33OMAeIYUgs6UKi body: encoding: UTF-8 string: '{"name":"Blog","description":"Blog''s content type","fields":[{"id":"blog_name","name":"blog_name","type":"Text"},{"id":"blog_entries","name":"Entries","type":"Array","items":{"type":"Link","linkType":"Entry"},"localized":true}]}' headers: User-Agent: - RubyContenfulManagementGem/0.0.1 Authorization: - Bearer Content-Type: - application/vnd.contentful.management.v1+json X-Contentful-Version: - '48' Host: - api.contentful.com response: status: code: 200 message: OK headers: Server: - nginx Date: - Thu, 31 Jul 2014 10:36:47 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '1246' Connection: - keep-alive X-Powered-By: - Express Cf-Space-Id: - yr5m0jky5hsh Etag: - '"35be9de7614dd7df1b03f9f5e8254ef0"' 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": "Blog", "description": "Blog's content type", "fields": [ { "id": "blog_name", "name": "blog_name", "type": "Text" }, { "id": "blog_entries", "name": "Entries", "type": "Array", "items": { "type": "Link", "linkType": "Entry" }, "localized": true } ], "sys": { "id": "6xzrdCr33OMAeIYUgs6UKi", "type": "ContentType", "createdAt": "2014-07-31T10:33:50.934Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "yr5m0jky5hsh" } }, "firstPublishedAt": "2014-07-31T10:34:14.463Z", "publishedCounter": 2, "publishedAt": "2014-07-31T10:35:45.237Z", "publishedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "publishedVersion": 47, "version": 49, "updatedAt": "2014-07-31T10:36:47.241Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "0fn5fOWn4WsKFyYla1gI5h" } } } } http_version: recorded_at: Thu, 31 Jul 2014 10:36:47 GMT recorded_with: VCR 2.9.2