--- http_interactions: - request: method: get uri: https://api.contentful.com/spaces/yr5m0jky5hsh/entries/4o6ghKSmSko4i828YCYaEo 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 06:36:06 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '3009' Connection: - keep-alive X-Powered-By: - Express Cf-Space-Id: - yr5m0jky5hsh Etag: - '"69cf9fbf38ee30f1d8b8d01649cb4034"' 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": { "name": { "en-US": "Tom Handy", "pl": "testName" }, "age": { "en-US": 20, "pl": null }, "bool": { "en-US": false, "pl": null }, "birthday": { "en-US": "2000-07-12T11:11:00+02:00", "pl": null }, "city": { "en-US": { "lat": 22.44, "lon": 33.33 }, "pl": null }, "asset": { "en-US": { "sys": { "type": "Link", "linkType": "Asset", "id": "codequest_id_test_custom_id" } }, "pl": null }, "assets": { "en-US": [ { "sys": { "type": "Link", "linkType": "Asset", "id": "codequest_id_test_custom_id" } }, { "sys": { "type": "Link", "linkType": "Asset", "id": "codequest_id_test_custom_id" } }, { "sys": { "type": "Link", "linkType": "Asset", "id": "codequest_id_test_custom_id" } } ], "pl": null }, "entry": { "en-US": { "sys": { "type": "Link", "linkType": "Entry", "id": "1d1QDYzeiyWmgqQYysae8u" } }, "pl": null }, "entries": { "en-US": [ { "sys": { "type": "Link", "linkType": "Entry", "id": "1d1QDYzeiyWmgqQYysae8u" } }, { "sys": { "type": "Link", "linkType": "Entry", "id": "1d1QDYzeiyWmgqQYysae8u" } }, { "sys": { "type": "Link", "linkType": "Entry", "id": "1d1QDYzeiyWmgqQYysae8u" } } ], "pl": null }, "symbols": { "en-US": [ "PL", "USD", "XX" ], "pl": null } }, "sys": { "id": "4o6ghKSmSko4i828YCYaEo", "type": "Entry", "createdAt": "2014-07-30T13:44:39.414Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "yr5m0jky5hsh" } }, "contentType": { "sys": { "type": "Link", "linkType": "ContentType", "id": "5DSpuKrl04eMAGQoQckeIq" } }, "firstPublishedAt": "2014-07-30T13:44:42.304Z", "publishedCounter": 2, "publishedAt": "2014-07-30T13:53:55.981Z", "publishedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "publishedVersion": 3, "version": 6, "updatedAt": "2014-07-30T14:11:08.611Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } } } http_version: recorded_at: Thu, 31 Jul 2014 06:36:07 GMT - request: method: get uri: https://api.contentful.com/spaces/yr5m0jky5hsh/content_types/5DSpuKrl04eMAGQoQckeIq 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 06:36:07 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '2458' Connection: - keep-alive X-Powered-By: - Express Cf-Space-Id: - yr5m0jky5hsh Etag: - '"22ac7b99fb23804fd7b079ade52f888e"' 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": [ { "name": "name", "id": "name", "type": "Text", "uiid": "3fflnrplhc0", "localized": true }, { "name": "age", "id": "age", "uiid": "2t5blkc7u2o", "type": "Integer", "localized": true }, { "name": "city", "id": "city", "type": "Location", "uiid": "4fzl5jkm1a8", "localized": false }, { "name": "assets", "id": "assets", "uiid": "3aqrgdyesxs", "type": "Array", "items": { "type": "Link", "linkType": "Asset" }, "localized": true }, { "name": "entries", "id": "entries", "type": "Array", "uiid": "3xi486kbchs", "items": { "type": "Link", "linkType": "Entry" } }, { "name": "entry", "id": "entry", "type": "Link", "uiid": "3uxjdd1n5ds", "linkType": "Entry" }, { "name": "asset", "id": "asset", "type": "Link", "uiid": "40ilp8h1xc0", "linkType": "Asset" }, { "name": "bool", "id": "bool", "type": "Boolean", "uiid": "2i1bgmn2dj4", "localized": true }, { "name": "symbols", "id": "symbols", "type": "Array", "uiid": "38rbncxmzuo", "items": { "type": "Symbol" } }, { "name": "birthday", "id": "birthday", "type": "Date", "uiid": "41bdwbk06bk" } ], "name": "Author", "sys": { "id": "5DSpuKrl04eMAGQoQckeIq", "type": "ContentType", "createdAt": "2014-07-30T12:35:01.110Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "yr5m0jky5hsh" } }, "firstPublishedAt": "2014-07-30T12:37:42.035Z", "publishedCounter": 6, "publishedAt": "2014-07-30T14:58:40.786Z", "publishedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "publishedVersion": 177, "version": 178, "updatedAt": "2014-07-30T14:58:40.796Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } }, "description": null, "displayField": "name" } http_version: recorded_at: Thu, 31 Jul 2014 06:36:07 GMT - request: method: post uri: https://api.contentful.com/spaces/yr5m0jky5hsh/entries body: encoding: UTF-8 string: '{"fields":{"name":{"en-US":"EntryWithEntry"},"age":{"en-US":20},"entry":{"en-US":{"sys":{"type":"Link","linkType":"Entry","id":"4o6ghKSmSko4i828YCYaEo"}}}}}' headers: User-Agent: - RubyContenfulManagementGem/0.0.1 Authorization: - Bearer Content-Type: - application/vnd.contentful.management.v1+json X-Contentful-Content-Type: - 5DSpuKrl04eMAGQoQckeIq Host: - api.contentful.com response: status: code: 201 message: Created headers: Server: - nginx Date: - Thu, 31 Jul 2014 06:36:08 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '1020' Connection: - keep-alive X-Powered-By: - Express Cf-Space-Id: - yr5m0jky5hsh Etag: - '"012cde2a7af4ada230cc5758739cbd07"' 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": { "name": { "en-US": "EntryWithEntry" }, "age": { "en-US": 20 }, "entry": { "en-US": { "sys": { "type": "Link", "linkType": "Entry", "id": "4o6ghKSmSko4i828YCYaEo" } } } }, "sys": { "id": "2NtXSTpsw0QGOwmg4CwE0i", "type": "Entry", "version": 1, "createdAt": "2014-07-31T06:36:08.466Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "yr5m0jky5hsh" } }, "contentType": { "sys": { "type": "Link", "linkType": "ContentType", "id": "5DSpuKrl04eMAGQoQckeIq" } }, "updatedAt": "2014-07-31T06:36:08.467Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } } } http_version: recorded_at: Thu, 31 Jul 2014 06:36:08 GMT recorded_with: VCR 2.9.2