--- http_interactions: - 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: - Wed, 30 Jul 2014 13:34:25 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '2244' Connection: - keep-alive X-Powered-By: - Express Cf-Space-Id: - yr5m0jky5hsh Etag: - '"57b5cafae138f97c6dda6cdb7bd508d9"' 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" }, { "name": "city", "id": "city", "type": "Location", "uiid": "4fzl5jkm1a8" }, { "name": "assets", "id": "assets", "uiid": "3aqrgdyesxs", "type": "Array", "items": { "type": "Link", "linkType": "Asset" } }, { "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" }, { "name": "symbols", "id": "symbols", "type": "Array", "uiid": "38rbncxmzuo", "items": { "type": "Symbol" } } ], "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": 3, "publishedAt": "2014-07-30T13:34:05.146Z", "publishedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "publishedVersion": 157, "version": 158, "updatedAt": "2014-07-30T13:34:05.156Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } }, "description": null, "displayField": "name" } http_version: recorded_at: Wed, 30 Jul 2014 13:34:25 GMT - request: method: post uri: https://api.contentful.com/spaces/yr5m0jky5hsh/entries/ body: encoding: UTF-8 string: '{"fields":{"name":{"en-US":"SymbolTest"},"symbols":{"en-US":["USD","PL","XX"]}}}' 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: - Wed, 30 Jul 2014 13:34:26 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '876' Connection: - keep-alive X-Powered-By: - Express Cf-Space-Id: - yr5m0jky5hsh Etag: - '"9b0765f173705eb0d2536642469e4215"' 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": "SymbolTest" }, "symbols": { "en-US": [ "USD","PL","XX" ] } }, "sys": { "id": "iy55YkUHsImQ66isAQyAi", "type": "Entry", "version": 1, "createdAt": "2014-07-30T13:34:26.513Z", "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-30T13:34:26.513Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } } } http_version: recorded_at: Wed, 30 Jul 2014 13:34:26 GMT recorded_with: VCR 2.9.2