--- http_interactions: - request: method: get uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/content_types/qw3F2rn3FeoOiceqAiCSC 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:32:23 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '1121' Connection: - keep-alive X-Powered-By: - Express Cf-Space-Id: - yr5m0jky5hsh Etag: - '"029c336b84a59aa7ab0f6ae856b87c94"' 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 Content", "description": "Blogs content type", "fields": [ { "id": "blog_author", "name": "blog_author", "type": "Text", "localized": true, "uiid": "40u3yg9v7cw" } ], "sys": { "id": "qw3F2rn3FeoOiceqAiCSC", "type": "ContentType", "createdAt": "2014-07-31T09:12:04.064Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "0fn5fOWn4WsKFyYla1gI5h" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "yr5m0jky5hsh" } }, "firstPublishedAt": "2014-07-31T09:42:50.228Z", "publishedCounter": 6, "publishedAt": "2014-07-31T10:06:34.907Z", "publishedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "publishedVersion": 181, "version": 184, "updatedAt": "2014-07-31T10:15:12.026Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } } } http_version: recorded_at: Thu, 31 Jul 2014 10:32:24 GMT - request: method: put uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/content_types/qw3F2rn3FeoOiceqAiCSC body: encoding: UTF-8 string: '{"name":"Blog Content","description":"Blogs content type","fields":[{"id":"blog_author","name":"blog_author","type":"Text","localized":true},{"id":"blog_avatar","name":"Blog avatar","type":"Link","linkType":"Asset","required":true,"localized":true}]}' headers: User-Agent: - RubyContenfulManagementGem/0.0.1 Authorization: - Bearer Content-Type: - application/vnd.contentful.management.v1+json X-Contentful-Version: - '184' Host: - api.contentful.com response: status: code: 200 message: OK headers: Server: - nginx Date: - Thu, 31 Jul 2014 10:32:24 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '1258' Connection: - keep-alive X-Powered-By: - Express Cf-Space-Id: - yr5m0jky5hsh Etag: - '"71ab34b36df54507f6a7b08ebfdc2838"' 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 Content", "description": "Blogs content type", "fields": [ { "id": "blog_author", "name": "blog_author", "type": "Text", "localized": true }, { "id": "blog_avatar", "name": "Blog avatar", "type": "Link", "linkType": "Asset", "required": true, "localized": true } ], "sys": { "id": "qw3F2rn3FeoOiceqAiCSC", "type": "ContentType", "createdAt": "2014-07-31T09:12:04.064Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "0fn5fOWn4WsKFyYla1gI5h" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "yr5m0jky5hsh" } }, "firstPublishedAt": "2014-07-31T09:42:50.228Z", "publishedCounter": 6, "publishedAt": "2014-07-31T10:06:34.907Z", "publishedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "publishedVersion": 181, "version": 185, "updatedAt": "2014-07-31T10:32:24.638Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "0fn5fOWn4WsKFyYla1gI5h" } } } } http_version: recorded_at: Thu, 31 Jul 2014 10:32:24 GMT recorded_with: VCR 2.9.2