--- http_interactions: - request: method: post uri: https://api.contentful.com/spaces/yr5m0jky5hsh/content_types/ body: encoding: UTF-8 string: '{"name":"Number","description":"Content type with Number field","fields":[{"id":"my_Number_field","name":"My Number Field","type":"Number"}]}' headers: User-Agent: - RubyContenfulManagementGem/0.0.1 Authorization: - Bearer Content-Type: - application/vnd.contentful.management.v1+json Host: - api.contentful.com response: status: code: 201 message: Created headers: Server: - nginx Date: - Thu, 31 Jul 2014 10:01:33 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '785' Connection: - keep-alive X-Powered-By: - Express Cf-Space-Id: - yr5m0jky5hsh Etag: - '"0390785c0f33929e8ba03b9ec2bceb72"' 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": "Number", "description": "Content type with Number field", "fields": [ { "id": "my_Number_field", "name": "My Number Field", "type": "Number" } ], "sys": { "id": "178V91vpAqqCUEo0o0M0WE", "type": "ContentType", "version": 1, "createdAt": "2014-07-31T10:01:33.646Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "0fn5fOWn4WsKFyYla1gI5h" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "yr5m0jky5hsh" } }, "updatedAt": "2014-07-31T10:01:33.646Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "0fn5fOWn4WsKFyYla1gI5h" } } } } http_version: recorded_at: Thu, 31 Jul 2014 10:01:33 GMT recorded_with: VCR 2.9.2