--- http_interactions: - request: method: get uri: https://api.contentful.com/spaces/bfsvtul0c41g/assets/8R4vbQXKbCkcSu26Wy2U0 body: encoding: US-ASCII string: '' headers: User-Agent: - RubyContenfulManagementGem/0.0.2 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: - Tue, 19 Aug 2014 10:10:30 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '1403' Connection: - keep-alive X-Powered-By: - Express Cf-Space-Id: - bfsvtul0c41g Etag: - '"2be36cc687cc0a25a0e36182b95f3ba7"' 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": "test" }, "description": { "en-US": "testowy" }, "file": { "en-US": { "fileName": "Mowing_your_Lawn_-_Advice_and_Tips", "contentType": "image/jpeg", "details": { "image": { "width": 801, "height": 1000 }, "size": 105202 }, "url": "//images.contentful.com/bfsvtul0c41g/8R4vbQXKbCkcSu26Wy2U0/4ca4dabb0305045fa5c3c786bf5d7592/mow.jpg" } } }, "sys": { "id": "8R4vbQXKbCkcSu26Wy2U0", "type": "Asset", "createdAt": "2014-08-19T07:25:10.104Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "bfsvtul0c41g" } }, "firstPublishedAt": "2014-08-19T07:25:32.234Z", "publishedCounter": 1, "publishedAt": "2014-08-19T07:25:32.234Z", "publishedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "publishedVersion": 11, "version": 14, "updatedAt": "2014-08-19T10:09:26.237Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } } } http_version: recorded_at: Tue, 19 Aug 2014 10:10:26 GMT - request: method: get uri: https://api.contentful.com/spaces/bfsvtul0c41g/assets/8R4vbQXKbCkcSu26Wy2U0 body: encoding: US-ASCII string: '' headers: User-Agent: - RubyContenfulManagementGem/0.0.2 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: - Tue, 19 Aug 2014 10:10:34 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '1403' Connection: - keep-alive X-Powered-By: - Express Cf-Space-Id: - bfsvtul0c41g Etag: - '"2be36cc687cc0a25a0e36182b95f3ba7"' 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": "test" }, "description": { "en-US": "testowy" }, "file": { "en-US": { "fileName": "Mowing_your_Lawn_-_Advice_and_Tips", "contentType": "image/jpeg", "details": { "image": { "width": 801, "height": 1000 }, "size": 105202 }, "url": "//images.contentful.com/bfsvtul0c41g/8R4vbQXKbCkcSu26Wy2U0/4ca4dabb0305045fa5c3c786bf5d7592/mow.jpg" } } }, "sys": { "id": "8R4vbQXKbCkcSu26Wy2U0", "type": "Asset", "createdAt": "2014-08-19T07:25:10.104Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "bfsvtul0c41g" } }, "firstPublishedAt": "2014-08-19T07:25:32.234Z", "publishedCounter": 1, "publishedAt": "2014-08-19T07:25:32.234Z", "publishedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "publishedVersion": 11, "version": 14, "updatedAt": "2014-08-19T10:09:26.237Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } } } http_version: recorded_at: Tue, 19 Aug 2014 10:10:30 GMT recorded_with: VCR 2.9.2