--- http_interactions: - request: method: get uri: https://api.contentful.com/spaces/bfsvtul0c41g body: encoding: US-ASCII string: '' headers: User-Agent: - RubyContenfulManagementGem/0.0.2 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: - Tue, 19 Aug 2014 13:24:42 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '459' Connection: - keep-alive Status: - 200 OK X-Contentful-Request-Id: - 85f-1214639449 Etag: - '"4c0ee33eddaabc719d0b81c1ef79fdc4"' 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":"bfsvtul0c41g", "version":1, "createdBy":{ "sys":{ "type":"Link", "linkType":"User", "id":"1E7acJL8I5XUXAMHQt9Grs" } }, "createdAt":"2014-08-18T06:51:53Z", "updatedBy":{ "sys":{ "type":"Link", "linkType":"User", "id":"1E7acJL8I5XUXAMHQt9Grs" } }, "updatedAt":"2014-08-18T06:51:53Z" }, "name":"CMA_demo_rails_app"} http_version: recorded_at: Tue, 19 Aug 2014 13:24:35 GMT - request: method: get uri: https://api.contentful.com/spaces/bfsvtul0c41g/content_types body: encoding: US-ASCII string: '' headers: User-Agent: - RubyContenfulManagementGem/0.0.2 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: - Tue, 19 Aug 2014 13:24:42 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '4628' Connection: - keep-alive X-Powered-By: - Express Cf-Space-Id: - bfsvtul0c41g Etag: - '"e81522bd619e808c7c099fb199bfb608"' 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": "Post", "description": "", "fields": [ { "id": "post_title", "name": "Title", "type": "Text", "localized": true, "uiid": "4e20dxdupz4" }, { "id": "post_author", "name": "Author", "type": "Text", "localized": true, "uiid": "2s5prxyzvgg" }, { "id": "post_body", "name": "Body", "type": "Text", "localized": true, "uiid": "32vqnqsdreo" }, { "id": "post_title_image", "name": "Title Image", "type": "Link", "linkType": "Asset", "required": true, "localized": true, "uiid": "3m8cw01d5vk" }, { "id": "post_second_image", "name": "Second Image", "type": "Link", "linkType": "Asset", "localized": true, "uiid": "3gjxnofhkao" }, { "id": "post_category_id", "name": "Category", "type": "Link", "linkType": "Entry", "uiid": "3qu5za5cnpc" }, { "id": "post_assets", "name": "Post Assets", "type": "Array", "items": { "type": "Link", "linkType": "Asset" }, "uiid": "35ykvfj4x6o" }, { "id": "xxx", "name": "xxx", "type": "Symbol", "uiid": "4onqde99wxs" }, { "id": "xxx123", "name": "xxx123", "type": "Symbol", "uiid": "4o64i125l34" }, { "id": "ssss", "name": "Post ssss", "type": "Array", "items": { "type": "Link", "linkType": "Asset" }, "uiid": "2skdkwqvta8" }, { "name": "xxasdasd", "id": "xxasdasd", "type": "Boolean", "uiid": "387exwqopa8" } ], "sys": { "id": "post_content_type", "type": "ContentType", "createdAt": "2014-08-18T06:52:03.545Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "bfsvtul0c41g" } }, "firstPublishedAt": "2014-08-18T06:52:10.462Z", "publishedCounter": 4, "publishedAt": "2014-08-18T12:42:39.643Z", "publishedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "publishedVersion": 33, "version": 35, "updatedAt": "2014-08-19T10:19:42.592Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } } }, { "name": "Updated content type name", "description": "", "fields": [ { "id": "name", "name": "Name", "type": "Text", "localized": true }, { "id": "description", "name": "Description", "type": "Text", "localized": true } ], "sys": { "id": "category_content_type", "type": "ContentType", "createdAt": "2014-08-18T06:51:59.560Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "bfsvtul0c41g" } }, "firstPublishedAt": "2014-08-18T06:52:02.517Z", "publishedCounter": 6, "publishedAt": "2014-08-19T11:42:07.711Z", "publishedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "publishedVersion": 33, "version": 35, "updatedAt": "2014-08-19T12:15:30.183Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } } } ] } http_version: recorded_at: Tue, 19 Aug 2014 13:24:35 GMT - request: method: get uri: https://api.contentful.com/spaces/bfsvtul0c41g body: encoding: US-ASCII string: '' headers: User-Agent: - RubyContenfulManagementGem/0.0.2 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: - Tue, 19 Aug 2014 13:24:43 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '459' Connection: - keep-alive Status: - 200 OK X-Contentful-Request-Id: - 85f-1214639459 Etag: - '"4c0ee33eddaabc719d0b81c1ef79fdc4"' 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":"bfsvtul0c41g", "version":1, "createdBy":{ "sys":{ "type":"Link", "linkType":"User", "id":"1E7acJL8I5XUXAMHQt9Grs" } }, "createdAt":"2014-08-18T06:51:53Z", "updatedBy":{ "sys":{ "type":"Link", "linkType":"User", "id":"1E7acJL8I5XUXAMHQt9Grs" } }, "updatedAt":"2014-08-18T06:51:53Z" }, "name":"CMA_demo_rails_app"} http_version: recorded_at: Tue, 19 Aug 2014 13:24:36 GMT - request: method: get uri: https://api.contentful.com/spaces/bfsvtul0c41g/content_types body: encoding: US-ASCII string: '' headers: User-Agent: - RubyContenfulManagementGem/0.0.2 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: - Tue, 19 Aug 2014 13:24:44 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '4628' Connection: - keep-alive X-Powered-By: - Express Cf-Space-Id: - bfsvtul0c41g Etag: - '"e81522bd619e808c7c099fb199bfb608"' 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": "Post", "description": "", "fields": [ { "id": "post_title", "name": "Title", "type": "Text", "localized": true, "uiid": "4e20dxdupz4" }, { "id": "post_author", "name": "Author", "type": "Text", "localized": true, "uiid": "2s5prxyzvgg" }, { "id": "post_body", "name": "Body", "type": "Text", "localized": true, "uiid": "32vqnqsdreo" }, { "id": "post_title_image", "name": "Title Image", "type": "Link", "linkType": "Asset", "required": true, "localized": true, "uiid": "3m8cw01d5vk" }, { "id": "post_second_image", "name": "Second Image", "type": "Link", "linkType": "Asset", "localized": true, "uiid": "3gjxnofhkao" }, { "id": "post_category_id", "name": "Category", "type": "Link", "linkType": "Entry", "uiid": "3qu5za5cnpc" }, { "id": "post_assets", "name": "Post Assets", "type": "Array", "items": { "type": "Link", "linkType": "Asset" }, "uiid": "35ykvfj4x6o" }, { "id": "xxx", "name": "xxx", "type": "Symbol", "uiid": "4onqde99wxs" }, { "id": "xxx123", "name": "xxx123", "type": "Symbol", "uiid": "4o64i125l34" }, { "id": "ssss", "name": "Post ssss", "type": "Array", "items": { "type": "Link", "linkType": "Asset" }, "uiid": "2skdkwqvta8" }, { "name": "xxasdasd", "id": "xxasdasd", "type": "Boolean", "uiid": "387exwqopa8" } ], "sys": { "id": "post_content_type", "type": "ContentType", "createdAt": "2014-08-18T06:52:03.545Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "bfsvtul0c41g" } }, "firstPublishedAt": "2014-08-18T06:52:10.462Z", "publishedCounter": 4, "publishedAt": "2014-08-18T12:42:39.643Z", "publishedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "publishedVersion": 33, "version": 35, "updatedAt": "2014-08-19T10:19:42.592Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } } }, { "name": "Updated content type name", "description": "", "fields": [ { "id": "name", "name": "Name", "type": "Text", "localized": true }, { "id": "description", "name": "Description", "type": "Text", "localized": true } ], "sys": { "id": "category_content_type", "type": "ContentType", "createdAt": "2014-08-18T06:51:59.560Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "bfsvtul0c41g" } }, "firstPublishedAt": "2014-08-18T06:52:02.517Z", "publishedCounter": 6, "publishedAt": "2014-08-19T11:42:07.711Z", "publishedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "publishedVersion": 33, "version": 35, "updatedAt": "2014-08-19T12:15:30.183Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } } } ] } http_version: recorded_at: Tue, 19 Aug 2014 13:24:37 GMT - request: method: put uri: https://api.contentful.com/spaces/bfsvtul0c41g body: encoding: UTF-8 string: '{"name":"Reload Space Name"}' headers: User-Agent: - RubyContenfulManagementGem/0.0.2 Authorization: - Bearer Content-Type: - application/vnd.contentful.management.v1+json X-Contentful-Version: - '1' Host: - api.contentful.com response: status: code: 200 message: OK headers: Server: - nginx Date: - Tue, 19 Aug 2014 13:24:45 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '458' Connection: - keep-alive Status: - 200 OK X-Contentful-Request-Id: - 85f-1214639467 Etag: - '"161d006d9bc4d800461b8972358d1543"' 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":"bfsvtul0c41g", "version":2, "createdBy":{ "sys":{ "type":"Link", "linkType":"User", "id":"1E7acJL8I5XUXAMHQt9Grs" } }, "createdAt":"2014-08-18T06:51:53Z", "updatedBy":{ "sys":{ "type":"Link", "linkType":"User", "id":"1E7acJL8I5XUXAMHQt9Grs" } }, "updatedAt":"2014-08-19T13:24:45Z" }, "name":"Reload Space Name"} http_version: recorded_at: Tue, 19 Aug 2014 13:24:38 GMT recorded_with: VCR 2.9.2