--- http_interactions: - request: method: get uri: https://api.contentful.com/spaces/v2umtz8ths9v body: encoding: US-ASCII string: '' headers: User-Agent: - RubyContenfulManagementGem/0.1.0 Authorization: - Bearer Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '0' Host: - api.contentful.com response: status: code: 200 message: OK headers: "^access-Control-Expose-Headers": - Etag Accept-Ranges: - bytes 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-Allow-Origin: - "*" Access-Control-Max-Age: - '1728000' Cache-Control: - max-age=0 Content-Type: - application/vnd.contentful.management.v1+json Date: - Tue, 02 Sep 2014 08:17:17 GMT Etag: - '"35407b8a88882fe5717a4701910f6ce7"' Server: - nginx Status: - 200 OK X-Contentful-Request-Id: - f1c-1375556194 Content-Length: - '459' Connection: - keep-alive body: encoding: UTF-8 string: | { "sys":{ "type":"Space", "id":"v2umtz8ths9v", "version":1, "createdBy":{ "sys":{ "type":"Link", "linkType":"User", "id":"1E7acJL8I5XUXAMHQt9Grs" } }, "createdAt":"2014-08-21T13:32:11Z", "updatedBy":{ "sys":{ "type":"Link", "linkType":"User", "id":"1E7acJL8I5XUXAMHQt9Grs" } }, "updatedAt":"2014-08-21T13:32:12Z" }, "name":"CMA Demo Rails App"} http_version: recorded_at: Tue, 02 Sep 2014 08:17:48 GMT - request: method: get uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types body: encoding: US-ASCII string: '' headers: User-Agent: - RubyContenfulManagementGem/0.1.0 Authorization: - Bearer Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '0' Host: - api.contentful.com response: status: code: 200 message: OK headers: "^access-Control-Expose-Headers": - Etag 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-Allow-Origin: - "*" Access-Control-Max-Age: - '1728000' Cf-Space-Id: - v2umtz8ths9v Content-Type: - application/vnd.contentful.management.v1+json Date: - Tue, 02 Sep 2014 08:17:18 GMT Etag: - '"da68e0b0911d1f09a5959ee568e6af90"' Server: - nginx X-Powered-By: - Express Content-Length: - '5193' Connection: - keep-alive body: encoding: UTF-8 string: | { "sys": { "type": "Array" }, "total": 3, "skip": 0, "limit": 100, "items": [ { "fields": [ { "name": "testowe", "id": "testowe", "type": "Link", "uiid": "3q907mcb4lc", "linkType": "Asset", "required": true, "localized": true } ], "name": "test", "sys": { "id": "26eLfV14SIOeQkse44q4sw", "type": "ContentType", "createdAt": "2014-08-22T12:57:43.618Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "v2umtz8ths9v" } }, "firstPublishedAt": "2014-08-22T12:57:53.093Z", "publishedCounter": 2, "publishedAt": "2014-08-22T12:57:58.628Z", "publishedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "publishedVersion": 13, "version": 14, "updatedAt": "2014-08-22T12:57:58.633Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } } }, { "displayField": "title", "name": "Post", "description": "", "fields": [ { "id": "title", "name": "Title", "type": "Text", "localized": true, "uiid": "2sdir2f8kcg" }, { "id": "author", "name": "Author", "type": "Text", "localized": true, "uiid": "4x1018907pc" }, { "id": "body", "name": "Body", "type": "Text", "localized": true, "uiid": "4hj7cda89hc" }, { "id": "title_image", "name": "Title Image", "type": "Link", "linkType": "Asset", "required": true, "localized": true, "uiid": "4gcqrcma8lc" }, { "id": "second_image", "name": "Second Image", "type": "Link", "linkType": "Asset", "localized": true, "uiid": "40440elrugw" }, { "id": "category", "name": "Category", "type": "Link", "linkType": "Entry", "uiid": "49vicjvqsxs", "localized": true } ], "sys": { "id": "post_content_type", "type": "ContentType", "createdAt": "2014-08-21T13:32:30.401Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "v2umtz8ths9v" } }, "firstPublishedAt": "2014-08-21T13:32:43.385Z", "publishedCounter": 2, "publishedAt": "2014-08-27T09:18:36.995Z", "publishedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "publishedVersion": 11, "version": 12, "updatedAt": "2014-08-27T09:18:37.003Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } } }, { "displayField": "name", "name": "Category", "description": "", "fields": [ { "id": "name", "name": "Name", "type": "Text", "localized": true, "uiid": "3ic0t3qi51c" }, { "id": "description", "name": "Description", "type": "Text", "localized": false, "uiid": "38xiq8fobnk" } ], "sys": { "id": "category_content_type", "type": "ContentType", "createdAt": "2014-08-21T13:32:20.955Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "v2umtz8ths9v" } }, "firstPublishedAt": "2014-08-21T13:32:27.109Z", "publishedCounter": 6, "publishedAt": "2014-09-02T07:13:04.738Z", "publishedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "publishedVersion": 17, "version": 18, "updatedAt": "2014-09-02T07:13:04.749Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } } } ] } http_version: recorded_at: Tue, 02 Sep 2014 08:17:49 GMT - request: method: get uri: https://api.contentful.com/spaces/v2umtz8ths9v/entries/2dEkgsQRnSW2QuW4AMaa86 body: encoding: US-ASCII string: '' headers: User-Agent: - RubyContenfulManagementGem/0.1.0 Authorization: - Bearer Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '0' Host: - api.contentful.com response: status: code: 200 message: OK headers: "^access-Control-Expose-Headers": - Etag 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-Allow-Origin: - "*" Access-Control-Max-Age: - '1728000' Cf-Space-Id: - v2umtz8ths9v Content-Type: - application/vnd.contentful.management.v1+json Date: - Tue, 02 Sep 2014 08:17:19 GMT Etag: - '"a7b89987eefc47f65b3e43defb6c762f"' Server: - nginx X-Powered-By: - Express Content-Length: - '1229' Connection: - keep-alive body: encoding: UTF-8 string: | { "fields": { "name": { "en-US": "Contentful EN", "de-DE": "Contentful DE", "pl-PL": "Contentful PL" }, "description": { "en-US": "Description EN" } }, "sys": { "id": "2dEkgsQRnSW2QuW4AMaa86", "type": "Entry", "createdAt": "2014-09-02T07:35:22.045Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "v2umtz8ths9v" } }, "contentType": { "sys": { "type": "Link", "linkType": "ContentType", "id": "category_content_type" } }, "firstPublishedAt": "2014-09-02T07:35:30.549Z", "publishedCounter": 1, "publishedAt": "2014-09-02T07:35:30.549Z", "publishedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "publishedVersion": 14, "version": 17, "updatedAt": "2014-09-02T08:15:33.662Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } } } http_version: recorded_at: Tue, 02 Sep 2014 08:17:50 GMT - request: method: put uri: https://api.contentful.com/spaces/v2umtz8ths9v/entries/2dEkgsQRnSW2QuW4AMaa86 body: encoding: UTF-8 string: '{"fields":{"name":{"en-US":"Contentful EN up","de-DE":"Contentful DE up","pl-PL":"Contentful PL up"},"description":{"en-US":"Description EN up"}}}' headers: User-Agent: - RubyContenfulManagementGem/0.1.0 Authorization: - Bearer Content-Type: - application/vnd.contentful.management.v1+json X-Contentful-Version: - '17' Host: - api.contentful.com response: status: code: 200 message: OK headers: "^access-Control-Expose-Headers": - Etag 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-Allow-Origin: - "*" Access-Control-Max-Age: - '1728000' Cf-Space-Id: - v2umtz8ths9v Content-Type: - application/vnd.contentful.management.v1+json Date: - Tue, 02 Sep 2014 08:17:19 GMT Etag: - '"a12c023d89243e0b17cc9ce12eab9344"' Server: - nginx X-Powered-By: - Express Content-Length: - '1241' Connection: - keep-alive body: encoding: UTF-8 string: | { "fields": { "name": { "en-US": "Contentful EN up", "de-DE": "Contentful DE up", "pl-PL": "Contentful PL up" }, "description": { "en-US": "Description EN up" } }, "sys": { "id": "2dEkgsQRnSW2QuW4AMaa86", "type": "Entry", "createdAt": "2014-09-02T07:35:22.045Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "v2umtz8ths9v" } }, "contentType": { "sys": { "type": "Link", "linkType": "ContentType", "id": "category_content_type" } }, "firstPublishedAt": "2014-09-02T07:35:30.549Z", "publishedCounter": 1, "publishedAt": "2014-09-02T07:35:30.549Z", "publishedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "publishedVersion": 14, "version": 18, "updatedAt": "2014-09-02T08:17:19.788Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } } } http_version: recorded_at: Tue, 02 Sep 2014 08:17:51 GMT recorded_with: VCR 2.9.2