--- http_interactions: - request: method: get uri: https://api.contentful.com/spaces/yr5m0jky5hsh/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 09:43:30 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '1249' Connection: - keep-alive X-Powered-By: - Express Cf-Space-Id: - yr5m0jky5hsh Etag: - '"301f62fe4018df22e06b533f678d6cab"' 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": [ { "name": "blog_name", "id": "blog_name", "type": "Text", "uiid": "43gser0qg3k" }, { "name": "blog_description", "id": "blog_description", "type": "Text", "uiid": "2u81qklflkw" } ], "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": 2, "publishedAt": "2014-07-31T09:43:20.827Z", "publishedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "publishedVersion": 36, "version": 37, "updatedAt": "2014-07-31T09:43:20.830Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } }, "displayField": "blogName" } http_version: recorded_at: Thu, 31 Jul 2014 09:43:30 GMT - request: method: put uri: https://api.contentful.com/spaces/yr5m0jky5hsh/content_types/qw3F2rn3FeoOiceqAiCSC body: encoding: UTF-8 string: '{"name":"Blog Content","description":"Blogs content type","fields":[{"id":"blog_name","name":"blog_name","type":"Text"},{"id":"blog_description","name":"blog_description","type":"Text"}]}' headers: User-Agent: - RubyContenfulManagementGem/0.0.1 Authorization: - Bearer Content-Type: - application/vnd.contentful.management.v1+json X-Contentful-Version: - '37' Host: - api.contentful.com response: status: code: 200 message: OK headers: Server: - nginx Date: - Thu, 31 Jul 2014 09:43:31 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '1161' Connection: - keep-alive X-Powered-By: - Express Cf-Space-Id: - yr5m0jky5hsh Etag: - '"3a078c6747e3f4c0448eacbff3f667a4"' 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_name", "name": "blog_name", "type": "Text" }, { "id": "blog_description", "name": "blog_description", "type": "Text" } ], "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": 2, "publishedAt": "2014-07-31T09:43:20.827Z", "publishedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "publishedVersion": 36, "version": 38, "updatedAt": "2014-07-31T09:43:31.203Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "0fn5fOWn4WsKFyYla1gI5h" } } } } http_version: recorded_at: Thu, 31 Jul 2014 09:43:31 GMT recorded_with: VCR 2.9.2