--- 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.pre 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, 06 Aug 2014 13:13:39 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '2694' Connection: - keep-alive X-Powered-By: - Express Cf-Space-Id: - yr5m0jky5hsh Etag: - '"0d232e3ca0d9eea2582d69148be0df3b"' 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": "Author", "description": "Author content", "fields": [ { "id": "name", "name": "name", "type": "Text", "localized": true, "uiid": "3jp09h4ba4g" }, { "id": "age", "name": "age", "type": "Integer", "localized": true, "uiid": "43my1e8ybr4" }, { "id": "city", "name": "city", "type": "Location", "uiid": "45uoowshekg" }, { "id": "assets", "name": "assets", "type": "Array", "items": { "type": "Link", "linkType": "Asset" }, "localized": true, "uiid": "4p8d3di8b28" }, { "id": "entries", "name": "entries", "type": "Array", "items": { "type": "Link", "linkType": "Entry" }, "uiid": "4t2r2mpmwow" }, { "id": "entry", "name": "entry", "type": "Link", "linkType": "Entry", "uiid": "2u2x6csxtkw" }, { "id": "asset", "name": "asset", "type": "Link", "linkType": "Asset", "uiid": "3pktxccvjeo" }, { "id": "bool", "name": "bool", "type": "Boolean", "localized": true, "uiid": "4p882yc9728" }, { "id": "symbols", "name": "symbols", "type": "Array", "items": { "type": "Symbol" }, "uiid": "2mcqj4tdczk" }, { "id": "birthday", "name": "birthday", "type": "Date", "uiid": "3h1dkdm8we8" }, { "id": "symbol", "name": "Symbol", "type": "Symbol", "required": true, "localized": true, "uiid": "30rwyn42a68" }, { "id": "eye_color", "name": "Eyes color", "type": "Text", "uiid": "46h9q3btwcg" } ], "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": 9, "publishedAt": "2014-07-31T10:21:36.870Z", "publishedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "publishedVersion": 206, "version": 213, "updatedAt": "2014-07-31T13:23:46.624Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } } } http_version: recorded_at: Wed, 06 Aug 2014 13:13:40 GMT - request: method: put uri: https://api.contentful.com/spaces/yr5m0jky5hsh/entries/custom_id body: encoding: UTF-8 string: '{"fields":{"name":{"en-US":"Custom Id"}}}' headers: User-Agent: - RubyContenfulManagementGem/0.0.1.pre Authorization: - Bearer a36504c8b5e0ef7172c313961a2359bf06bb8485a0253beeb6fa389cc781d468 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, 06 Aug 2014 13:13:40 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '792' Connection: - keep-alive X-Powered-By: - Express Cf-Space-Id: - yr5m0jky5hsh Etag: - '"0a482b5175949e777c6b7ccfea067b08"' 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": "Custom Id" } }, "sys": { "id": "custom_id", "type": "Entry", "version": 1, "createdAt": "2014-08-06T13:13:40.788Z", "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-08-06T13:13:40.788Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } } } http_version: recorded_at: Wed, 06 Aug 2014 13:13:41 GMT recorded_with: VCR 2.9.2