--- - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :post uri: http://<USER>:<PASS>@<URL>:80/templates/404/make_public.json body: headers: content-type: - application/json authorization: - Basic <REDACTED> response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 404 message: Not Found headers: x-ua-compatible: - IE=Edge,chrome=1 x-powered-by: - Phusion Passenger (mod_rails/mod_rack) 3.0.1 content-type: - application/json; charset=utf-8 date: - Tue, 19 Apr 2011 14:54:30 GMT server: - Apache/2.2.3 (CentOS) x-runtime: - "1.345163" set-cookie: - <REDACTED> cache-control: - no-cache status: - "404" transfer-encoding: - chunked body: "{\"error\":\"Resource not found\"}" http_version: "1.1" - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :post uri: http://<USER>:<PASS>@<URL>:80/templates/1/make_public.json body: headers: content-type: - application/json authorization: - Basic <REDACTED> response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 201 message: Created headers: x-ua-compatible: - IE=Edge,chrome=1 location: - http://www.example.com/templates/1 x-powered-by: - Phusion Passenger (mod_rails/mod_rack) 3.0.1 content-type: - application/json; charset=utf-8 x-runtime: - "0.206963" server: - Apache/2.2.3 (CentOS) date: - Tue, 19 Apr 2011 14:56:38 GMT set-cookie: - <REDACTED> status: - "201" cache-control: - no-cache transfer-encoding: - chunked body: "{\"image_template\":{\"label\":\"CentOS 5.5 x64\",\"created_at\":\"2011-04-13T10:37:49Z\",\"operating_system_arch\":\"x64\",\"operating_system_distro\":\"rhel\",\"operating_system\":\"linux\",\"operating_system_tail\":null,\"allowed_swap\":true,\"operating_system_edition\":null,\"updated_at\":null,\"allow_resize_without_reboot\":true,\"checksum\":\"348e4b17225885109f13686c757c6e0b\",\"file_name\":\"centos-5.5-x64-1.2.tar.gz\",\"id\":1,\"virtualization\":\"xen,kvm\",\"allowed_hot_migrate\":true,\"template_size\":313544,\"user_id\":null,\"version\":\"1.2\",\"min_disk_size\":5,\"state\":\"active\"}}" http_version: "1.1"