--- http_interactions: - request: method: put uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/codequest_id_test_custom body: encoding: UTF-8 string: '{"fields":{"title":{"en-US":"titlebyCreateAPI_custom_id"},"description":{"en-US":"descByAPI_custom_id"},"file":{"en-US":{"contentType":"image/jpeg","fileName":"codequest.jpg","upload":"http://static.goldenline.pl/firm_logo/082/firm_225106_22f37f_small.jpg"}}}}' 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 07:38:09 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '952' Connection: - keep-alive X-Powered-By: - Express Cf-Space-Id: - yr5m0jky5hsh Etag: - '"20ffe5c5f11104a017c25899d5f4de77"' 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": { "title": { "en-US": "titlebyCreateAPI_custom_id" }, "description": { "en-US": "descByAPI_custom_id" }, "file": { "en-US": { "contentType": "image/jpeg", "fileName": "codequest.jpg", "upload": "http://static.goldenline.pl/firm_logo/082/firm_225106_22f37f_small.jpg" } } }, "sys": { "id": "codequest_id_test_custom", "type": "Asset", "version": 1, "createdAt": "2014-07-31T07:38:09.232Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "yr5m0jky5hsh" } }, "updatedAt": "2014-07-31T07:38:09.232Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } } } http_version: recorded_at: Thu, 31 Jul 2014 07:38:09 GMT - request: method: put uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/codequest_id_test_custom/files/en-US/process body: encoding: US-ASCII string: '' headers: User-Agent: - RubyContenfulManagementGem/0.0.1 Authorization: - Bearer Content-Type: - application/vnd.contentful.management.v1+json X-Contentful-Version: - '1' Content-Length: - '0' Host: - api.contentful.com response: status: code: 204 message: No Content headers: Server: - nginx Date: - Thu, 31 Jul 2014 07:38:09 GMT Content-Type: - application/vnd.contentful.management.v1+json Connection: - keep-alive X-Powered-By: - Express Cf-Space-Id: - yr5m0jky5hsh 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: '' http_version: recorded_at: Thu, 31 Jul 2014 07:38:09 GMT recorded_with: VCR 2.9.2