--- - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: http://user:pass@www.example.com:80/templates.json body: headers: content-type: - application/json authorization: - Basic WHAT response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 message: OK headers: x-ua-compatible: - IE=Edge,chrome=1 etag: - "\"4c0d1111142b38d81129a0b6f51e87e6\"" x-powered-by: - Phusion Passenger (mod_rails/mod_rack) 3.0.1 content-type: - application/json; charset=utf-8 x-runtime: - "0.144280" server: - Apache/2.2.3 (CentOS) date: - Tue, 19 Apr 2011 14:40:49 GMT set-cookie: - _onapp_session=WHAT; path=/; HttpOnly status: - "200" cache-control: - max-age=0, private, must-revalidate 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\"}},{\"image_template\":{\"label\":\"CentOS 5.5 x86\",\"created_at\":\"2011-04-13T10:37:49Z\",\"operating_system_arch\":\"x86\",\"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\":\"fb198a5a2b0766bb7ea86750c886807c\",\"file_name\":\"centos-5.5-x86-1.3.tar.gz\",\"id\":2,\"virtualization\":\"xen,kvm\",\"allowed_hot_migrate\":true,\"template_size\":295300,\"user_id\":null,\"version\":\"1.3\",\"min_disk_size\":5,\"state\":\"active\"}},{\"image_template\":{\"label\":\"Debian 5.0 x64\",\"created_at\":\"2011-04-13T10:37:49Z\",\"operating_system_arch\":\"x64\",\"operating_system_distro\":\"ubuntu\",\"operating_system\":\"linux\",\"operating_system_tail\":null,\"allowed_swap\":true,\"operating_system_edition\":null,\"updated_at\":null,\"allow_resize_without_reboot\":null,\"checksum\":\"619af85550cc34fad74af8e145bd78c1\",\"file_name\":\"debian-5.0-x64-2.1.tar.gz\",\"id\":3,\"virtualization\":\"xen,kvm\",\"allowed_hot_migrate\":null,\"template_size\":211800,\"user_id\":null,\"version\":\"2.1\",\"min_disk_size\":5,\"state\":\"active\"}},{\"image_template\":{\"label\":\"Debian 5.0 x86\",\"created_at\":\"2011-04-13T10:37:49Z\",\"operating_system_arch\":\"x86\",\"operating_system_distro\":\"ubuntu\",\"operating_system\":\"linux\",\"operating_system_tail\":null,\"allowed_swap\":true,\"operating_system_edition\":null,\"updated_at\":null,\"allow_resize_without_reboot\":null,\"checksum\":\"3a74f9698528aeb769497032bca4ff6b\",\"file_name\":\"debian-5.0-x86-1.0.tar.gz\",\"id\":4,\"virtualization\":\"xen,kvm\",\"allowed_hot_migrate\":null,\"template_size\":144972,\"user_id\":null,\"version\":\"1.0\",\"min_disk_size\":5,\"state\":\"active\"}},{\"image_template\":{\"label\":\"Debian 6.0.0 x64\",\"created_at\":\"2011-04-13T10:37:49Z\",\"operating_system_arch\":\"x64\",\"operating_system_distro\":\"ubuntu\",\"operating_system\":\"linux\",\"operating_system_tail\":null,\"allowed_swap\":true,\"operating_system_edition\":null,\"updated_at\":null,\"allow_resize_without_reboot\":null,\"checksum\":\"bd8aea09f99e6811c47b88369d6e7fb6\",\"file_name\":\"debian-6.0.0-x64-1.1.tar.gz\",\"id\":5,\"virtualization\":\"xen,kvm\",\"allowed_hot_migrate\":null,\"template_size\":173636,\"user_id\":null,\"version\":\"1.1\",\"min_disk_size\":5,\"state\":\"active\"}},{\"image_template\":{\"label\":\"Fedora 13 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\":null,\"checksum\":\"b9be9613b664abfb6fb3e2f883a0a4b3\",\"file_name\":\"fedora-13-x64-1.3.tar.gz\",\"id\":6,\"virtualization\":\"xen,kvm\",\"allowed_hot_migrate\":null,\"template_size\":289864,\"user_id\":null,\"version\":\"1.3\",\"min_disk_size\":5,\"state\":\"active\"}},{\"image_template\":{\"label\":\"Fedora 13 x86\",\"created_at\":\"2011-04-13T10:37:49Z\",\"operating_system_arch\":\"x86\",\"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\":null,\"checksum\":\"f367c4c9c9f7ca28e76c0d24c5292d7b\",\"file_name\":\"fedora-13-x86-1.3.tar.gz\",\"id\":7,\"virtualization\":\"xen,kvm\",\"allowed_hot_migrate\":null,\"template_size\":278916,\"user_id\":null,\"version\":\"1.3\",\"min_disk_size\":5,\"state\":\"active\"}},{\"image_template\":{\"label\":\"Fedora 14 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\":null,\"checksum\":\"7d3cd5c1511b1262be477b138b1c3013\",\"file_name\":\"fedora-14-x64-1.3.tar.gz\",\"id\":8,\"virtualization\":\"xen,kvm\",\"allowed_hot_migrate\":null,\"template_size\":224980,\"user_id\":null,\"version\":\"1.3\",\"min_disk_size\":5,\"state\":\"active\"}},{\"image_template\":{\"label\":\"Fedora 14 x86\",\"created_at\":\"2011-04-13T10:37:49Z\",\"operating_system_arch\":\"x86\",\"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\":null,\"checksum\":\"c2ba61f05620719a6838a501a6a0794a\",\"file_name\":\"fedora-14-x86-1.3.tar.gz\",\"id\":9,\"virtualization\":\"xen,kvm\",\"allowed_hot_migrate\":null,\"template_size\":221520,\"user_id\":null,\"version\":\"1.3\",\"min_disk_size\":5,\"state\":\"active\"}},{\"image_template\":{\"label\":\"Gentoo 10.1_2.6.34 x64\",\"created_at\":\"2011-04-13T10:37:49Z\",\"operating_system_arch\":\"x64\",\"operating_system_distro\":\"gentoo\",\"operating_system\":\"linux\",\"operating_system_tail\":null,\"allowed_swap\":true,\"operating_system_edition\":null,\"updated_at\":null,\"allow_resize_without_reboot\":null,\"checksum\":\"4cc4f6933b20a76bc2947245cfd2ad69\",\"file_name\":\"gentoo-10.1_2.6.34-x64-1.1.tar.gz\",\"id\":10,\"virtualization\":\"xen,kvm\",\"allowed_hot_migrate\":null,\"template_size\":248200,\"user_id\":null,\"version\":\"1.1\",\"min_disk_size\":5,\"state\":\"active\"}},{\"image_template\":{\"label\":\"Red Hat Enterprise Linux 5.6 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\":false,\"checksum\":\"98639a7c919e41cb8a9bebff5d4889fa\",\"file_name\":\"rhel-5.6-x64-1.0.tar.gz\",\"id\":11,\"virtualization\":\"xen,kvm\",\"allowed_hot_migrate\":false,\"template_size\":203604,\"user_id\":null,\"version\":\"1.0\",\"min_disk_size\":5,\"state\":\"active\"}},{\"image_template\":{\"label\":\"Red Hat Enterprise Linux 6.0 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\":false,\"checksum\":\"d6acbda4bd264ac6087b87f27d1bc5ec\",\"file_name\":\"rhel-6.0-x64-1.2.tar.gz\",\"id\":12,\"virtualization\":\"xen,kvm\",\"allowed_hot_migrate\":false,\"template_size\":261636,\"user_id\":null,\"version\":\"1.2\",\"min_disk_size\":5,\"state\":\"active\"}},{\"image_template\":{\"label\":\"Ubuntu 10.04 x64\",\"created_at\":\"2011-04-13T10:37:49Z\",\"operating_system_arch\":\"x64\",\"operating_system_distro\":\"ubuntu\",\"operating_system\":\"linux\",\"operating_system_tail\":null,\"allowed_swap\":true,\"operating_system_edition\":null,\"updated_at\":null,\"allow_resize_without_reboot\":null,\"checksum\":\"d4aae5ac706775eca43849110aa27d26\",\"file_name\":\"ubuntu-10.04-x64-1.3.tar.gz\",\"id\":13,\"virtualization\":\"xen,kvm\",\"allowed_hot_migrate\":null,\"template_size\":259296,\"user_id\":null,\"version\":\"1.3\",\"min_disk_size\":5,\"state\":\"active\"}},{\"image_template\":{\"label\":\"Ubuntu 10.10 x64\",\"created_at\":\"2011-04-13T10:37:49Z\",\"operating_system_arch\":\"x64\",\"operating_system_distro\":\"ubuntu\",\"operating_system\":\"linux\",\"operating_system_tail\":null,\"allowed_swap\":true,\"operating_system_edition\":null,\"updated_at\":null,\"allow_resize_without_reboot\":null,\"checksum\":\"bf511e473f44285293fd5dc4b12833e5\",\"file_name\":\"ubuntu-10.10-x64-1.1.tar.gz\",\"id\":14,\"virtualization\":\"xen,kvm\",\"allowed_hot_migrate\":null,\"template_size\":185664,\"user_id\":null,\"version\":\"1.1\",\"min_disk_size\":5,\"state\":\"active\"}},{\"image_template\":{\"label\":\"Ubuntu 8.04 x64\",\"created_at\":\"2011-04-13T10:37:49Z\",\"operating_system_arch\":\"x64\",\"operating_system_distro\":\"ubuntu\",\"operating_system\":\"linux\",\"operating_system_tail\":null,\"allowed_swap\":true,\"operating_system_edition\":null,\"updated_at\":null,\"allow_resize_without_reboot\":null,\"checksum\":\"ff8d1460c29d6e7cea5554c9fdba9295\",\"file_name\":\"ubuntu-8.04-x64-3.2.tar.gz\",\"id\":15,\"virtualization\":\"xen,kvm\",\"allowed_hot_migrate\":null,\"template_size\":206840,\"user_id\":null,\"version\":\"3.2\",\"min_disk_size\":5,\"state\":\"active\"}},{\"image_template\":{\"label\":\"Windows 2003 Standard Edition R2 x64\",\"created_at\":\"2011-04-13T10:37:49Z\",\"operating_system_arch\":\"x64\",\"operating_system_distro\":\"2003\",\"operating_system\":\"windows\",\"operating_system_tail\":\"R2\",\"allowed_swap\":false,\"operating_system_edition\":\"STD\",\"updated_at\":null,\"allow_resize_without_reboot\":null,\"checksum\":\"883cfbbfba5d38a7d261fca56b15c792\",\"file_name\":\"win03_x64_std_r2-ver2.1.img\",\"id\":16,\"virtualization\":\"xen\",\"allowed_hot_migrate\":null,\"template_size\":5517228,\"user_id\":null,\"version\":\"2.1\",\"min_disk_size\":10,\"state\":\"active\"}},{\"image_template\":{\"label\":\"Windows 2003 Standard Edition x64\",\"created_at\":\"2011-04-13T10:37:49Z\",\"operating_system_arch\":\"x64\",\"operating_system_distro\":\"2003\",\"operating_system\":\"windows\",\"operating_system_tail\":null,\"allowed_swap\":false,\"operating_system_edition\":\"STD\",\"updated_at\":null,\"allow_resize_without_reboot\":null,\"checksum\":\"d645c366cba0ba542a2cc1aaa938abd9\",\"file_name\":\"win03_x64_std-ver2.1.img\",\"id\":17,\"virtualization\":\"xen\",\"allowed_hot_migrate\":null,\"template_size\":7403672,\"user_id\":null,\"version\":\"2.1\",\"min_disk_size\":10,\"state\":\"active\"}},{\"image_template\":{\"label\":\"Windows 2003 Standard Edition R2 x86\",\"created_at\":\"2011-04-13T10:37:49Z\",\"operating_system_arch\":\"x86\",\"operating_system_distro\":\"2003\",\"operating_system\":\"windows\",\"operating_system_tail\":\"R2\",\"allowed_swap\":false,\"operating_system_edition\":\"STD\",\"updated_at\":null,\"allow_resize_without_reboot\":null,\"checksum\":\"72d64f28d6fb1cf8b7adc8cd2889eb75\",\"file_name\":\"win03_x86_std_r2-ver2.1.img\",\"id\":18,\"virtualization\":\"xen\",\"allowed_hot_migrate\":null,\"template_size\":5663372,\"user_id\":null,\"version\":\"2.1\",\"min_disk_size\":10,\"state\":\"active\"}},{\"image_template\":{\"label\":\"Windows 2008 Standard Edition R2 x64\",\"created_at\":\"2011-04-13T10:37:49Z\",\"operating_system_arch\":\"x64\",\"operating_system_distro\":\"2008\",\"operating_system\":\"windows\",\"operating_system_tail\":\"R2\",\"allowed_swap\":false,\"operating_system_edition\":\"STD\",\"updated_at\":null,\"allow_resize_without_reboot\":null,\"checksum\":\"b6d846754b512fcfbb65914688b0d5c6\",\"file_name\":\"win08_x64_std_r2-ver2.1.img\",\"id\":19,\"virtualization\":\"xen\",\"allowed_hot_migrate\":true,\"template_size\":8994272,\"user_id\":null,\"version\":\"2.1\",\"min_disk_size\":20,\"state\":\"active\"}},{\"image_template\":{\"label\":\"Windows 2008 Standard Edition x64\",\"created_at\":\"2011-04-13T10:37:49Z\",\"operating_system_arch\":\"x64\",\"operating_system_distro\":\"2008\",\"operating_system\":\"windows\",\"operating_system_tail\":null,\"allowed_swap\":false,\"operating_system_edition\":\"STD\",\"updated_at\":null,\"allow_resize_without_reboot\":null,\"checksum\":\"7bb5c9b21b4202777db86afa7cbffdf3\",\"file_name\":\"win08_x64_std-ver2.1.img\",\"id\":20,\"virtualization\":\"xen\",\"allowed_hot_migrate\":true,\"template_size\":12796572,\"user_id\":null,\"version\":\"2.1\",\"min_disk_size\":20,\"state\":\"active\"}},{\"image_template\":{\"label\":\"Windows 2008 Standard Edition x86\",\"created_at\":\"2011-04-13T10:37:49Z\",\"operating_system_arch\":\"x86\",\"operating_system_distro\":\"2008\",\"operating_system\":\"windows\",\"operating_system_tail\":null,\"allowed_swap\":false,\"operating_system_edition\":\"STD\",\"updated_at\":null,\"allow_resize_without_reboot\":null,\"checksum\":\"af1efbe84379a618a3679d42c0454a23\",\"file_name\":\"win08_x86_std-ver2.1.img\",\"id\":21,\"virtualization\":\"xen\",\"allowed_hot_migrate\":true,\"template_size\":8447664,\"user_id\":null,\"version\":\"2.1\",\"min_disk_size\":20,\"state\":\"active\"}},{\"image_template\":{\"label\":\"Ubuntu 10.10 x86\",\"created_at\":\"2011-04-13T10:37:49Z\",\"operating_system_arch\":\"x86\",\"operating_system_distro\":\"ubuntu\",\"operating_system\":\"linux\",\"operating_system_tail\":null,\"allowed_swap\":true,\"operating_system_edition\":null,\"updated_at\":null,\"allow_resize_without_reboot\":null,\"checksum\":\"1bd57466a6a852b889afbc37023a17fa\",\"file_name\":\"ubuntu-10.10-x86-1.0.tar.gz\",\"id\":22,\"virtualization\":\"xen,kvm\",\"allowed_hot_migrate\":null,\"template_size\":210128,\"user_id\":null,\"version\":\"1.0\",\"min_disk_size\":5,\"state\":\"active\"}}]" http_version: "1.1"