--- http_interactions: - request: method: get uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types/category_content_type 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:15:34 GMT Etag: - '"391c3aafd988f750695ae5676d7130d6"' Server: - nginx X-Powered-By: - Express Content-Length: - '1254' Connection: - keep-alive body: encoding: UTF-8 string: | { "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:16:05 GMT - request: method: post uri: https://api.contentful.com/spaces/v2umtz8ths9v/entries body: encoding: UTF-8 string: '{"fields":{"name":{"en-US":"Contentful EN","de-DE":"Contentful DE","pl-PL":"Contentful PL"},"description":{"en-US":"Description EN"}}}' headers: User-Agent: - RubyContenfulManagementGem/0.1.0 Authorization: - Bearer Content-Type: - application/vnd.contentful.management.v1+json X-Contentful-Content-Type: - category_content_type Host: - api.contentful.com response: status: code: 201 message: Created 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:15:35 GMT Etag: - '"31fdedb609685a76a992f08ab55226a6"' Server: - nginx X-Powered-By: - Express Content-Length: - '932' 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": "3SxjTVeUF2AEKg6kQQS4MG", "type": "Entry", "version": 1, "createdAt": "2014-09-02T08:15:35.205Z", "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" } }, "updatedAt": "2014-09-02T08:15:35.205Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } } } http_version: recorded_at: Tue, 02 Sep 2014 08:16:06 GMT recorded_with: VCR 2.9.2