--- http_interactions: - request: method: get uri: https://api.contentful.com/spaces/yr5m0jky5hsh/entries/4Rouux8SoUCKwkyCq2I0E0 body: encoding: US-ASCII string: '' headers: User-Agent: - RubyContenfulManagementGem/0.0.1 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, 30 Jul 2014 12:52:00 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '1232' Connection: - keep-alive X-Powered-By: - Express Cf-Space-Id: - yr5m0jky5hsh Etag: - '"cf933353be4464d8a82321dae6c49751"' 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: | { "sys": { "id": "4Rouux8SoUCKwkyCq2I0E0", "type": "Entry", "createdAt": "2014-07-30T12:37:49.078Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "yr5m0jky5hsh" } }, "contentType": { "sys": { "type": "Link", "linkType": "ContentType", "id": "5DSpuKrl04eMAGQoQckeIq" } }, "firstPublishedAt": "2014-07-30T12:39:05.868Z", "publishedCounter": 4, "version": 33, "updatedAt": "2014-07-30T12:50:27.701Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } }, "fields": { "name": { "en-US": "Tom Handy" }, "age": { "en-US": 39 }, "city": { "en-US": { "lat": 52.1464575, "lon": 21.05050319999998 } }, "assets": { "en-US": [ { "sys": { "type": "Link", "linkType": "Asset", "id": "4k8mYw2MzS6kYG0eGq0Yi0" } } ] } } } http_version: recorded_at: Wed, 30 Jul 2014 12:52:01 GMT - request: method: delete uri: https://api.contentful.com/spaces/yr5m0jky5hsh/entries/4Rouux8SoUCKwkyCq2I0E0/archived 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: - '33' Content-Length: - '0' Host: - api.contentful.com response: status: code: 400 message: Bad Request headers: Server: - nginx Date: - Wed, 30 Jul 2014 12:52:01 GMT Content-Type: - application/vnd.contentful.management.v1+json Transfer-Encoding: - chunked Connection: - keep-alive X-Powered-By: - Express 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: | { "sys": { "type": "Error", "id": "BadRequest" }, "message": "Not archived" } http_version: recorded_at: Wed, 30 Jul 2014 12:52:01 GMT recorded_with: VCR 2.9.2