--- http_interactions: - request: method: get uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/entries/Qa8TW5nPWgiU4MA6AGYgq 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: - Mon, 04 Aug 2014 07:49:43 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '1282' Connection: - keep-alive X-Powered-By: - Express Cf-Space-Id: - yr5m0jky5hsh Etag: - '"9c46cf2349d76d2e816769da6905827c"' 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": { "id": "Qa8TW5nPWgiU4MA6AGYgq", "type": "Entry", "createdAt": "2014-08-04T07:20:11.797Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "yr5m0jky5hsh" } }, "contentType": { "sys": { "type": "Link", "linkType": "ContentType", "id": "4EnwylPOikyMGUIy8uQgQY" } }, "firstPublishedAt": "2014-08-04T07:20:45.855Z", "publishedCounter": 1, "publishedAt": "2014-08-04T07:20:45.855Z", "publishedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "publishedVersion": 47, "version": 48, "updatedAt": "2014-08-04T07:20:45.858Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } }, "fields": { "post_title": { "en-US": "Post title" }, "post_body": { "en-US": "Post body" }, "post_code": { "en-US": "XXXLS" }, "post_created": { "en-US": "2014-08-20T11:20:00+02:00" } } } http_version: recorded_at: Mon, 04 Aug 2014 07:49:43 GMT - request: method: get uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/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: - Mon, 04 Aug 2014 07:49:44 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '2017' Connection: - keep-alive X-Powered-By: - Express Cf-Space-Id: - yr5m0jky5hsh Etag: - '"43815bd6c3cd72389bbd86aeda07a923"' 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", "uiid": "4j6nspw3bb4" }, { "id": "blog_entries", "name": "blog_entries", "type": "Array", "items": { "type": "Link", "linkType": "Entry" }, "localized": true, "uiid": "4fb61794mio" }, { "name": "entries", "id": "entries", "type": "Array", "uiid": "4usq6g722gw", "items": { "type": "Link", "linkType": "Entry" }, "localized": true }, { "name": "assets", "id": "assets", "type": "Array", "uiid": "4gdlrxqamtc", "items": { "type": "Link", "linkType": "Asset" }, "localized": true }, { "name": "entry", "id": "entry", "type": "Link", "uiid": "2x4umbxk4cg", "linkType": "Entry" }, { "name": "blog_entry", "id": "blog_entry", "type": "Link", "uiid": "3vc40nae0hs", "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": 6, "publishedAt": "2014-08-04T07:44:58.250Z", "publishedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "publishedVersion": 104, "version": 105, "updatedAt": "2014-08-04T07:44:58.256Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } } } http_version: recorded_at: Mon, 04 Aug 2014 07:49:44 GMT - request: method: post uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/entries body: encoding: UTF-8 string: '{"fields":{"blog_name":{"en-US":"Piotrek"},"blog_entry":{"en-US":{"sys":{"type":"Link","linkType":"Entry","id":"Qa8TW5nPWgiU4MA6AGYgq"}}},"blog_entries":{"en-US":[{"sys":{"type":"Link","linkType":"Entry","id":"Qa8TW5nPWgiU4MA6AGYgq"}},{"sys":{"type":"Link","linkType":"Entry","id":"Qa8TW5nPWgiU4MA6AGYgq"}},{"sys":{"type":"Link","linkType":"Entry","id":"Qa8TW5nPWgiU4MA6AGYgq"}}]}}}' headers: User-Agent: - RubyContenfulManagementGem/0.0.1 Authorization: - Bearer Content-Type: - application/vnd.contentful.management.v1+json X-Contentful-Content-Type: - 6xzrdCr33OMAeIYUgs6UKi Host: - api.contentful.com response: status: code: 201 message: Created headers: Server: - nginx Date: - Mon, 04 Aug 2014 07:49:46 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '1502' Connection: - keep-alive X-Powered-By: - Express Cf-Space-Id: - yr5m0jky5hsh Etag: - '"ee33538d18a0d97d376e09aa75543519"' 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: | { "fields": { "blog_name": { "en-US": "Piotrek" }, "blog_entry": { "en-US": { "sys": { "type": "Link", "linkType": "Entry", "id": "Qa8TW5nPWgiU4MA6AGYgq" } } }, "blog_entries": { "en-US": [ { "sys": { "type": "Link", "linkType": "Entry", "id": "Qa8TW5nPWgiU4MA6AGYgq" } }, { "sys": { "type": "Link", "linkType": "Entry", "id": "Qa8TW5nPWgiU4MA6AGYgq" } }, { "sys": { "type": "Link", "linkType": "Entry", "id": "Qa8TW5nPWgiU4MA6AGYgq" } } ] } }, "sys": { "id": "5hHvXwGvB6gUWigmGYQokU", "type": "Entry", "version": 1, "createdAt": "2014-08-04T07:49:46.659Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "0fn5fOWn4WsKFyYla1gI5h" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "yr5m0jky5hsh" } }, "contentType": { "sys": { "type": "Link", "linkType": "ContentType", "id": "6xzrdCr33OMAeIYUgs6UKi" } }, "updatedAt": "2014-08-04T07:49:46.659Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "0fn5fOWn4WsKFyYla1gI5h" } } } } http_version: recorded_at: Mon, 04 Aug 2014 07:49:46 GMT recorded_with: VCR 2.9.2